diff options
author | tmk <nobody@nowhere> | 2013-02-25 15:29:47 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-02-25 15:29:47 +0900 |
commit | 000f3c4c543e0c4490787ccc3a8920d4ee0692ec (patch) | |
tree | 8cc5d21272b79d4011734ee074479c2bb99e7fc8 /converter/pc98_usb/command_extra.c | |
parent | 79b1f129085425c72b72bee28ed065bf243c0a0b (diff) | |
parent | 308abf598d4cc19be3c5b137bbd13d18510a083a (diff) |
Merge branch 'pc98_fix' into overlays
Diffstat (limited to 'converter/pc98_usb/command_extra.c')
-rw-r--r-- | converter/pc98_usb/command_extra.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/converter/pc98_usb/command_extra.c b/converter/pc98_usb/command_extra.c deleted file mode 100644 index 50389467ea..0000000000 --- a/converter/pc98_usb/command_extra.c +++ /dev/null @@ -1,43 +0,0 @@ -#include "stdbool.h" -#include "stdint.h" -#include "keycode.h" -#include "serial.h" -#include "print.h" -#include "command.h" - -bool command_extra(uint8_t code) -{ - switch (code) { - case KC_H: - case KC_SLASH: /* ? */ - print("\n\n----- Sun converter Help -----\n"); - print("UP: Bell On\n"); - print("DOWN: Bell Off\n"); - print("LEFT: Click On\n"); - print("RIGHT: Click Off\n"); - return false; - case KC_UP: - print("Bell On\n"); - serial_send(0x02); - break; - case KC_DOWN: - print("Bell Off\n"); - serial_send(0x03); - break; - case KC_LEFT: - print("Click On\n"); - serial_send(0x0A); - break; - case KC_RIGHT: - print("Click Off\n"); - serial_send(0x0B); - break; - case KC_NUMLOCK: - print("layout\n"); - serial_send(0x0F); - break; - default: - return false; - } - return true; -} |