summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-13 20:13:33 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-13 20:13:33 +0700
commit903e4d31939626606e3c4856698732bef621e5e8 (patch)
tree041f2d9de65197cdbd6699e73174ae8490e54bf6
parent75e57b4bcb4f97fea7ed1b011eea3557a6b3e041 (diff)
Fix faux clicky toggle key
-rw-r--r--keyboards/planck/keymaps/priyadi/keymap.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/priyadi/keymap.c b/keyboards/planck/keymaps/priyadi/keymap.c
index 2c215702b5..a74481b8b8 100644
--- a/keyboards/planck/keymaps/priyadi/keymap.c
+++ b/keyboards/planck/keymaps/priyadi/keymap.c
@@ -12,6 +12,10 @@
#include "quantum.h"
// #define TOLELOT_ENABLE
#define DOUBLESPACE_LAYER_ENABLE
+#define LAYOUT_DVORAK
+#define LAYOUT_COLEMAK
+#define LAYOUT_WORKMAN
+#define LAYOUT_NORMAN
// so i can copy & paste stuff from my other planck-like keyboards
#define KEYMAP( \
@@ -558,7 +562,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[_SYS] = KEYMAP(
XXXXXXX, QWERTY, WIN, XXXXXXX, RESET, XXXXXXX, XXXXXXX, OUT_USB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, AUDIO, XXXXXXX, DVORAK, XXXXXXX, GLOW, XXXXXXX, XXXXXXX, WORKMAN, LINUX, XXXXXXX, XXXXXXX,
+ XXXXXXX, FC_TOG, XXXXXXX, DVORAK, XXXXXXX, GLOW, XXXXXXX, XXXXXXX, WORKMAN, LINUX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, COLEMAK, XXXXXXX, OUT_BLE, NORMAN, OSX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______
),
@@ -852,8 +856,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
// faux clicky toggle, TBD
- case AUDIO:
- return false;
+ case FC_TOG:
+ return true;
break;
}