From 540d0700dc0a8172e32d419a9b99c30e2e82a98a Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 13 Apr 2013 00:23:05 +0900 Subject: [PATCH] Remove common/controller_teensy.h --- common/controller_teensy.h | 27 ------------------------ converter/adb_usb/config.h | 2 -- converter/m0110_usb/config.h | 3 --- converter/news_usb/config_pjrc.h | 2 -- converter/ps2_usb/config.h | 2 -- converter/terminal_usb/config_102_pjrc.h | 2 -- converter/terminal_usb/config_122_pjrc.h | 2 -- converter/x68k_usb/config_pjrc.h | 2 -- keyboard/IIgs/config.h | 3 --- keyboard/hbkb/config.h | 2 -- keyboard/hbkb/controller_teensy.h | 27 ------------------------ keyboard/hhkb/config.h | 3 --- keyboard/hhkb/config_vusb.h | 5 ----- keyboard/hid_liber/config.h | 6 ------ keyboard/macway/config.h | 3 --- keyboard/phantom/config.h | 6 ------ 16 files changed, 97 deletions(-) delete mode 100644 common/controller_teensy.h delete mode 100644 keyboard/hbkb/controller_teensy.h diff --git a/common/controller_teensy.h b/common/controller_teensy.h deleted file mode 100644 index 6c3f47ce4ec47f9c1cbd23e5967f0c41bd4f7e9a..0000000000000000000000000000000000000000 --- a/common/controller_teensy.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2011 Jun Wako - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#ifndef TEENSY_H -#define TEENSY_H 1 - -// for Teensy/Teensy++ 2.0 -#define DEBUG_LED 1 -#define DEBUG_LED_CONFIG (DDRD |= (1<<6)) -#define DEBUG_LED_ON (PORTD |= (1<<6)) -#define DEBUG_LED_OFF (PORTD &= ~(1<<6)) - -#endif diff --git a/converter/adb_usb/config.h b/converter/adb_usb/config.h index c4edadc5697cea1076c35a8e1d4240141f82b315..9aa3489da71fd5853127a96befbf3aad21b7640d 100644 --- a/converter/adb_usb/config.h +++ b/converter/adb_usb/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x0ADB diff --git a/converter/m0110_usb/config.h b/converter/m0110_usb/config.h index f7a4b9bc97c3eb3b0afaffd0640c37650385948c..ac1c40a38e08c70bc5258371a4512411c1f2e622 100644 --- a/converter/m0110_usb/config.h +++ b/converter/m0110_usb/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x0110 diff --git a/converter/news_usb/config_pjrc.h b/converter/news_usb/config_pjrc.h index 5bb0216fe50513587738d3d27537052c2cae0c4d..171a0e06d5c33a7767f071dcd1f927318e9b656f 100644 --- a/converter/news_usb/config_pjrc.h +++ b/converter/news_usb/config_pjrc.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x5021 diff --git a/converter/ps2_usb/config.h b/converter/ps2_usb/config.h index 1c53b876d2e137404f63ded2ac1b9044973b4d7a..4a2d1fc47b8a4fefe5c157eb5a14adf1a36cb174 100644 --- a/converter/ps2_usb/config.h +++ b/converter/ps2_usb/config.h @@ -19,8 +19,6 @@ along with this program. If not, see . #define CONFIG_H #include -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6512 diff --git a/converter/terminal_usb/config_102_pjrc.h b/converter/terminal_usb/config_102_pjrc.h index 3ddbee3e7622ea6eb6afb28b911c05e345cdcf2b..65001a7d1ffa11f77d3760d7205793ac65c182ca 100644 --- a/converter/terminal_usb/config_102_pjrc.h +++ b/converter/terminal_usb/config_102_pjrc.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6531 diff --git a/converter/terminal_usb/config_122_pjrc.h b/converter/terminal_usb/config_122_pjrc.h index 8a7c86822e769c4f3026260e7e03a264b5819970..90e5edd313ded065e270e277e24b66d714a78f4b 100644 --- a/converter/terminal_usb/config_122_pjrc.h +++ b/converter/terminal_usb/config_122_pjrc.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6532 diff --git a/converter/x68k_usb/config_pjrc.h b/converter/x68k_usb/config_pjrc.h index 77e2188a03ef7440c251012312d8a9a130a6e116..b080a768459d58e0215b1e347f3f67e6cc90b705 100644 --- a/converter/x68k_usb/config_pjrc.h +++ b/converter/x68k_usb/config_pjrc.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6800 diff --git a/keyboard/IIgs/config.h b/keyboard/IIgs/config.h index 11acf87c071919636216c73ea34a04c15ddd3710..0039cb48b5bd935395b119ce23a5c23ab57c60b6 100644 --- a/keyboard/IIgs/config.h +++ b/keyboard/IIgs/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - /* USB Device descriptor parameter */ /* for Apple diff --git a/keyboard/hbkb/config.h b/keyboard/hbkb/config.h index 9db8c2c4d4d5ddff263bdf2842af2b3e69ad5f81..fef8c05ed3f5b1765fd07955470d10dc2ed2e04e 100644 --- a/keyboard/hbkb/config.h +++ b/keyboard/hbkb/config.h @@ -18,8 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" #define VENDOR_ID 0xFEED #define PRODUCT_ID 0xBB00 diff --git a/keyboard/hbkb/controller_teensy.h b/keyboard/hbkb/controller_teensy.h deleted file mode 100644 index 1b16113654f7a2345ae6a56ccb5cec37324eb660..0000000000000000000000000000000000000000 --- a/keyboard/hbkb/controller_teensy.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2011 Jun Wako - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#ifndef TEENSY_H -#define TEENSY_H 1 - -// for Teensy/Teensy++ 2.0 -#undef DEBUG_LED -#define DEBUG_LED_CONFIG -#define DEBUG_LED_ON -#define DEBUG_LED_OFF - -#endif diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h index 9df86126e1aa23f262048575232f2cffa7ea5792..ec51852c188c7d4a8add4848559c9fa91697ef4d 100644 --- a/keyboard/hhkb/config.h +++ b/keyboard/hhkb/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - #define VENDOR_ID 0xFEED #define PRODUCT_ID 0xCAFE diff --git a/keyboard/hhkb/config_vusb.h b/keyboard/hhkb/config_vusb.h index 44d5e4557dc82e3039938b2cbeaede9ecf74b6b2..37d3e4f2287b8c0be1c8410dd9d39df0266d3697 100644 --- a/keyboard/hhkb/config_vusb.h +++ b/keyboard/hhkb/config_vusb.h @@ -41,9 +41,4 @@ along with this program. If not, see . #endif -#define DEBUG_LED 1 -#define DEBUG_LED_CONFIG (DDRD |= (1<<4)) -#define DEBUG_LED_OFF (PORTD |= (1<<4)) -#define DEBUG_LED_ON (PORTD &= ~(1<<4)) - #endif diff --git a/keyboard/hid_liber/config.h b/keyboard/hid_liber/config.h index 9ee38046884c424a031a34312410c56b417474b3..968ccf55001cc1f9e7d5082cb4eac74f2d3f3166 100644 --- a/keyboard/hid_liber/config.h +++ b/keyboard/hid_liber/config.h @@ -46,10 +46,4 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) -// TODO: configurable -#define DEBUG_LED 0 -#define DEBUG_LED_CONFIG -#define DEBUG_LED_ON -#define DEBUG_LED_OFF - #endif diff --git a/keyboard/macway/config.h b/keyboard/macway/config.h index 74093405ad6a96819b0a94ee458e02c37b5b4437..e87da1ffa68ce518a5250deef650ee91d682bb41 100644 --- a/keyboard/macway/config.h +++ b/keyboard/macway/config.h @@ -18,9 +18,6 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -/* controller configuration */ -#include "controller_teensy.h" - /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED diff --git a/keyboard/phantom/config.h b/keyboard/phantom/config.h index 18bd130419bcc92114be586ad0e1f5f7573235a0..ac014bae9fcd10b6bb15943f845b147e8a5e83a3 100644 --- a/keyboard/phantom/config.h +++ b/keyboard/phantom/config.h @@ -47,10 +47,4 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) -// TODO: configurable -#define DEBUG_LED 0 -#define DEBUG_LED_CONFIG -#define DEBUG_LED_ON -#define DEBUG_LED_OFF - #endif