mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-08 17:02:06 +00:00
update keymap.c file
This commit is contained in:
parent
dee18ac03c
commit
14c3a8ccdc
@ -74,18 +74,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void housekeeping_task_user(void) {
|
|
||||||
writePin(C15, keymap_config.no_gui);
|
|
||||||
};
|
|
||||||
|
|
||||||
void keyboard_pre_init_user(void) {
|
|
||||||
|
|
||||||
setPinInputLow(C15);
|
|
||||||
writePin(C15, false);
|
|
||||||
setPinInputLow(C0);
|
|
||||||
writePin(C0, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
enum custom_layers {
|
enum custom_layers {
|
||||||
Win,
|
Win,
|
||||||
Mac,
|
Mac,
|
||||||
@ -130,17 +118,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void led_init_ports(void) {
|
|
||||||
setPinOutput(C0);
|
|
||||||
setPinOutput(C14);
|
|
||||||
setPinOutput(C15);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
|
||||||
writePin(C0, layer_state_cmp(state, 1));
|
writePin(C0, layer_state_cmp(state, 1));
|
||||||
|
|
||||||
return state;
|
return state;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user