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 6c3f47ce4..000000000 --- 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 c4edadc56..9aa3489da 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 f7a4b9bc9..ac1c40a38 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 5bb0216fe..171a0e06d 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 1c53b876d..4a2d1fc47 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 3ddbee3e7..65001a7d1 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 8a7c86822..90e5edd31 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 77e2188a0..b080a7684 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 11acf87c0..0039cb48b 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 9db8c2c4d..fef8c05ed 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 1b1611365..000000000 --- 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 9df86126e..ec51852c1 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 44d5e4557..37d3e4f22 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 9ee380468..968ccf550 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 74093405a..e87da1ffa 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 18bd13041..ac014bae9 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