diff options
author | tmk <nobody@nowhere> | 2011-09-17 22:39:50 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-09-17 23:53:18 +0900 |
commit | e67c988824f5ec0c965beb412f8ee5953dfd3c8c (patch) | |
tree | 190543f5bddfd31a326234aad91a0a995e55863a /hhkb/config_vusb.h | |
parent | b703de7b298f8463bf4654fa3730ba1958a7fa9e (diff) | |
download | firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.tar.gz firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.tar.bz2 firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.zip |
Added Bulegiga iWRAP support into HHKB.(Bluetooth)
Diffstat (limited to 'hhkb/config_vusb.h')
-rw-r--r-- | hhkb/config_vusb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hhkb/config_vusb.h b/hhkb/config_vusb.h index 115b73de3..268644849 100644 --- a/hhkb/config_vusb.h +++ b/hhkb/config_vusb.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef CONFIG_H #define CONFIG_H - #define VENDOR_ID 0xFEED #define PRODUCT_ID 0xC0FE // TODO: share these strings with usbconfig.h @@ -34,11 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* key combination for command */ -#define IS_COMMAND() ( \ - keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \ - keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \ -) - +#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT))) /* mouse keys */ #ifdef MOUSEKEY_ENABLE @@ -46,4 +41,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #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 |