Chromeos keycodes (#18212)
This commit is contained in:
@@ -199,8 +199,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
||||
// clang-format off
|
||||
|
||||
case CH_CPNL: host_consumer_send(AL_CONTROL_PANEL); return false;
|
||||
case CH_ASST: host_consumer_send(AL_ASSISTANT); return false;
|
||||
case CH_SUSP: tap_code16(LGUI(LSFT(KC_L))); return true;
|
||||
|
||||
// clang-format on
|
||||
@@ -285,11 +283,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
}
|
||||
} else {
|
||||
switch (keycode) {
|
||||
case CH_CPNL:
|
||||
case CH_ASST:
|
||||
host_consumer_send(0);
|
||||
return false;
|
||||
|
||||
case SPI_KP_00:
|
||||
unregister_code(KC_KP_0);
|
||||
return false;
|
||||
|
@@ -17,9 +17,7 @@ enum userspace_layers {
|
||||
};
|
||||
|
||||
enum custom_keycodes {
|
||||
CH_CPNL = SAFE_RANGE, // AL Control Panel
|
||||
CH_ASST, // AL Context-aware Desktop Assistant
|
||||
CH_SUSP, // Suspend
|
||||
CH_SUSP = SAFE_RANGE, // Suspend
|
||||
|
||||
SPI_NORMAL,
|
||||
SPI_WIDE,
|
||||
|
Reference in New Issue
Block a user