1
0
Fork 0

Chromeos keycodes (#18212)

This commit is contained in:
Joshua Diamond 2022-09-17 01:48:09 -04:00 committed by GitHub
parent 33c47fe010
commit a26f1ddafa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 22 additions and 28 deletions

View file

@ -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;

View file

@ -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,