From: tmk Date: Fri, 12 Apr 2013 15:23:05 +0000 (+0900) Subject: Remove common/controller_teensy.h X-Git-Url: https://git.gir.st/tmk_keyboard.git/commitdiff_plain/540d0700dc0a8172e32d419a9b99c30e2e82a98a Remove common/controller_teensy.h --- diff --git a/common/controller_teensy.h b/common/controller_teensy.h deleted file mode 100644 index 6c3f47ce..00000000 --- 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 c4edadc5..9aa3489d 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 f7a4b9bc..ac1c40a3 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 5bb0216f..171a0e06 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 1c53b876..4a2d1fc4 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 3ddbee3e..65001a7d 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 8a7c8682..90e5edd3 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 77e2188a..b080a768 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 11acf87c..0039cb48 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 9db8c2c4..fef8c05e 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 1b161136..00000000 --- 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 9df86126..ec51852c 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 44d5e455..37d3e4f2 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 9ee38046..968ccf55 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 74093405..e87da1ff 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 18bd1304..ac014bae 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