[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75 * update uint32_t to layer_state
This commit is contained in:
parent
f792aee954
commit
b73a29aaea
122 changed files with 469 additions and 469 deletions
|
@ -1,7 +1,7 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define base 0
|
||||
#define raise 1
|
||||
#define raise 1
|
||||
#define lower 2
|
||||
|
||||
//Tap Dance Declarations
|
||||
|
@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
[raise] = LAYOUT_2u_space_ortho(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
|
||||
_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_QUOT, _______,
|
||||
_______, KC_HOME, KC_END, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______,
|
||||
_______, KC_HOME, KC_END, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MPRV, _______, KC_MNXT, EEP_RST),
|
||||
|
||||
[lower] = LAYOUT_2u_space_ortho(
|
||||
|
@ -86,7 +86,7 @@ void matrix_scan_user(void) {
|
|||
}
|
||||
|
||||
//change colors and rgb modes on layer change
|
||||
uint32_t layer_state_set_user(uint32_t state) {
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
switch (biton32(state)) {
|
||||
case raise:
|
||||
rgblight_mode_noeeprom(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue