]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
pc98_usb: Update keymap
authortmk <hasu@tmk-kbd.com>
Sun, 10 Jun 2018 03:50:38 +0000 (12:50 +0900)
committertmk <hasu@tmk-kbd.com>
Sun, 10 Jun 2018 03:50:38 +0000 (12:50 +0900)
converter/pc98_usb/keymap.c

index 557e5a27cadf388d19fdba9029ffae7f1e1737c7..34fe8422f9a07f49046a38ef28a32ac6ee137767 100644 (file)
@@ -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