X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fpc98_usb%2Fconfig.h;h=b7a00ed7bd51bdc82476dc9b6f68b3b34be69709;hb=3e8289b53ce929484651fc065fb5f718e4e3ae21;hp=6793c7945999777eb11ac0e4105003f9125a1867;hpb=54c9e737d0f5c4b52294f5bd9da0bbebda8d86f6;p=max%2Ftmk_keyboard.git
diff --git a/converter/pc98_usb/config.h b/converter/pc98_usb/config.h
index 6793c794..b7a00ed7 100644
--- a/converter/pc98_usb/config.h
+++ b/converter/pc98_usb/config.h
@@ -19,8 +19,8 @@ along with this program. If not, see .
#define CONFIG_H
#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x9898
-#define DEVICE_VER 0x0100
+#define PRODUCT_ID 0x9801
+#define DEVICE_VER 0x0101
#define MANUFACTURER t.m.k.
#define PRODUCT PC98 keyboard converter
#define DESCRIPTION converts PC98 keyboard protocol into USB
@@ -32,7 +32,7 @@ along with this program. If not, see .
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->keys[0] == KC_STOP || \
+ matrix_is_on(12, 0) || /* STOP */ \
keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) \
)
@@ -43,7 +43,7 @@ along with this program. If not, see .
#define LOCKING_RESYNC_ENABLE
/* Control LED indicatiors, which doesn't work well with locking support */
-//#define PC98_LED_CONTROL
+#define PC98_LED_CONTROL
/* PC98 Reset Port shared with TXD */
@@ -64,8 +64,10 @@ along with this program. If not, see .
* asynchronous, positive logic, 19200baud, bit order: LSB first
* 1-start bit, 8-data bit, odd parity, 1-stop bit
*/
+
/*
* Software Serial
+ * Add protocol/serial_soft.c to SRC in Makefile
*/
#define SERIAL_SOFT_BAUD 19200
#define SERIAL_SOFT_PARITY_ODD
@@ -110,6 +112,7 @@ along with this program. If not, see .
/*
* Hardware Serial(UART)
+ * Add protocol/serial_uart.c to SRC in Makefile
*/
#if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__)
#define SERIAL_UART_BAUD 19200
@@ -123,6 +126,7 @@ along with this program. If not, see .
UCSR1B |= (1<