diff options
author | Drashna Jael're <drashna@live.com> | 2020-01-14 17:51:28 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | bd9df627137230a0b333ab48f1e90130404d782b (patch) | |
tree | 4f1c18605fa3c5a8b27af500a4a06f46820572b8 /keyboards/planck/keymaps/oryx/keymap.c | |
parent | 5ed3ecdd73913ee484777ab33840f3ece5d3571f (diff) |
Add Oryx keymap, etc
Diffstat (limited to 'keyboards/planck/keymaps/oryx/keymap.c')
-rw-r--r-- | keyboards/planck/keymaps/oryx/keymap.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/planck/keymaps/oryx/keymap.c b/keyboards/planck/keymaps/oryx/keymap.c index 46737dbf7b..a1e9ae4636 100644 --- a/keyboards/planck/keymaps/oryx/keymap.c +++ b/keyboards/planck/keymaps/oryx/keymap.c @@ -130,22 +130,5 @@ bool music_mask_user(uint16_t keycode) { } } uint32_t layer_state_set_user(uint32_t state) { - palClearPad(GPIOB, 8); - palClearPad(GPIOB, 9); - uint8_t layer = biton32(state); - switch (layer) { - case _LOWER: - palSetPad(GPIOB, 9); - break; - case _RAISE: - palSetPad(GPIOB, 8); - break; - case _ADJUST: - palSetPad(GPIOB, 9); - palSetPad(GPIOB, 8); - break; - default: - break; - } return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); } |