summaryrefslogtreecommitdiff
path: root/keyboards/maxipad/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorxyverz <xyverz@gmail.com>2016-12-06 17:36:19 -0800
committerxyverz <xyverz@gmail.com>2016-12-06 17:36:19 -0800
commit9216bc73778ef0fe5830b91511f37dd90fb0f0a1 (patch)
tree6c9f343c2485150c1912b7b68ade364a232015bd /keyboards/maxipad/keymaps/default/keymap.c
parentf9cf4f75aec8cb24f054f243b985d9e5c18a2a80 (diff)
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/maxipad/keymaps/default/keymap.c')
-rw-r--r--keyboards/maxipad/keymaps/default/keymap.c40
1 files changed, 6 insertions, 34 deletions
diff --git a/keyboards/maxipad/keymaps/default/keymap.c b/keyboards/maxipad/keymaps/default/keymap.c
index 43ace32419..227cef7d86 100644
--- a/keyboards/maxipad/keymaps/default/keymap.c
+++ b/keyboards/maxipad/keymaps/default/keymap.c
@@ -1,5 +1,5 @@
#include "maxipad.h"
-
+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = KEYMAP( /* Base */
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, \
@@ -13,42 +13,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS \
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC \
),
};
-
+
const uint16_t PROGMEM fn_actions[] = {
-
};
-
-const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
+
+const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) // MACRODOWN only works in this function
{
- // MACRODOWN only works in this function
- switch(id) {
- case 0:
- if (record->event.pressed) {
- register_code(KC_RSFT);
- } else {
- unregister_code(KC_RSFT);
- }
- break;
- }
return MACRO_NONE;
-};
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void led_set_user(uint8_t usb_led) {
-
-} \ No newline at end of file
+}; \ No newline at end of file