Add Oryx keymap, etc

This commit is contained in:
Drashna Jael're
2020-01-14 17:51:28 -08:00
committed by Florian Didron
parent 5ed3ecdd73
commit bd9df62713
5 changed files with 150 additions and 18 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ bool music_mask_kb(uint16_t keycode) {
}
}
#endif
#ifdef WEBUSB_ENABLE
#ifdef ORYX_ENABLE
static uint16_t loops = 0;
static bool is_on = false;
-17
View File
@@ -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);
}
+1
View File
@@ -3,3 +3,4 @@ SRC += muse.c
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
COMMAND_ENABLE = no
MOUSEKEY_ENABLE = no
ORYX_ENABLE = yes