summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2022-09-17 01:48:09 -0400
committerGitHub <noreply@github.com>2022-09-17 15:48:09 +1000
commita26f1ddafa05c04cc9446109db250c59f689b35a (patch)
tree5eb836bf0dd1959b9580fc18239c280e030ef965 /users
parent33c47fe0106b5b1ec307d81bc6ee92cce3be50d5 (diff)
Chromeos keycodes (#18212)
Diffstat (limited to 'users')
-rw-r--r--users/spidey3/spidey3.c7
-rw-r--r--users/spidey3/spidey3.h4
2 files changed, 1 insertions, 10 deletions
diff --git a/users/spidey3/spidey3.c b/users/spidey3/spidey3.c
index d9b893814a..b4c261ce1d 100644
--- a/users/spidey3/spidey3.c
+++ b/users/spidey3/spidey3.c
@@ -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;
diff --git a/users/spidey3/spidey3.h b/users/spidey3/spidey3.h
index e344b08895..2b2cac0a20 100644
--- a/users/spidey3/spidey3.h
+++ b/users/spidey3/spidey3.h
@@ -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,