From: tmk Date: Sun, 10 Jun 2018 03:50:38 +0000 (+0900) Subject: pc98_usb: Update keymap X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=cf6df9db5fa6123b418ca29455d467e4455c0ebd;p=max%2Ftmk_keyboard.git pc98_usb: Update keymap --- diff --git a/converter/pc98_usb/keymap.c b/converter/pc98_usb/keymap.c index 557e5a27..34fe8422 100644 --- a/converter/pc98_usb/keymap.c +++ b/converter/pc98_usb/keymap.c @@ -106,49 +106,6 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; -/* - * Macro definition - */ -enum macro_id { - LBRACKET, - RBRACKET, - DUMMY, -}; - -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) -{ - keyevent_t event = record->event; - //uint8_t tap_count = record->tap_count; - - switch (id) { - case LBRACKET: - return (event.pressed ? - MACRO( T(LBRC), END ) : - MACRO( T(LBRC), END ) ); - case RBRACKET: - return (event.pressed ? - MACRO( T(RBRC), END ) : - MACRO( T(RBRC), END ) ); - } - return MACRO_NONE; -} - -/* - * Action function - */ -void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) -{ -/* - keyevent_t event = record->event; - uint8_t tap_count = record->tap_count; - switch (id) { - case 0xFF: - action_macro_play(get_macro(opt, event.pressed)); - break; - } -*/ -} - /* * Fn actions