summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-09 09:07:02 +1100
committerGitHub <noreply@github.com>2022-03-08 22:07:02 +0000
commit3347b63d83d019219770f55627f3d5136806bb5c (patch)
tree6792cfff5c386674cca8a452fb5f649cd1cde321 /keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c
parentd38696a4937525d34445bf23863f99675ec2f54c (diff)
handwired/misterdeck refactor (#16572)
* handwired/misterdeck refactor * Forgot to remove this
Diffstat (limited to 'keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c')
-rw-r--r--keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c b/keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c
index fbeb636cf2..d4c52be35d 100644
--- a/keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c
+++ b/keyboards/handwired/misterdeck/keymaps/nobuttons/keymap.c
@@ -15,20 +15,21 @@
*/
#include QMK_KEYBOARD_H
+
#include "joystick.h"
-enum layers {
+enum layer_names {
NORMAL_LAYER = 0
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [NORMAL_LAYER] = LAYOUT( C(S(KC_F1)), C(S(KC_F2)), C(S(KC_F3)), C(S(KC_F4)),
- C(S(KC_F5)), C(S(KC_F6)), C(S(KC_F7)), C(S(KC_F8)),
- C(S(KC_F9)), C(S(KC_F10)), C(S(KC_F11)), C(S(KC_F12))),
+ [NORMAL_LAYER] = LAYOUT(
+ C(S(KC_F1)), C(S(KC_F2)), C(S(KC_F3)), C(S(KC_F4)),
+ C(S(KC_F5)), C(S(KC_F6)), C(S(KC_F7)), C(S(KC_F8)),
+ C(S(KC_F9)), C(S(KC_F10)), C(S(KC_F11)), C(S(KC_F12))
+ ),
};
-
-
joystick_config_t joystick_axes[JOYSTICK_AXES_COUNT] = {
[0] = JOYSTICK_AXIS_IN(F4, 0, 512, 1023),
[1] = JOYSTICK_AXIS_IN(F5, 0, 512, 1023),