From cf6df9db5fa6123b418ca29455d467e4455c0ebd Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 10 Jun 2018 12:50:38 +0900 Subject: [PATCH] pc98_usb: Update keymap --- converter/pc98_usb/keymap.c | 43 ------------------------------------- 1 file changed, 43 deletions(-) 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 -- 2.46.2