diff options
author | Joel Challis <git@zvecr.com> | 2023-11-26 18:36:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 05:36:45 +1100 |
commit | 1ed03f498fa204178c2696c510ac6a2cd8524e2d (patch) | |
tree | b97c1f983b7e4b57c007d0feedadd3ad3e39062b /users/billypython/billypython.c | |
parent | 4908d4b1ca260efecf3613e6517aa3a6f2034876 (diff) |
Remove userspace keymaps (#22544)
Diffstat (limited to 'users/billypython/billypython.c')
-rw-r--r-- | users/billypython/billypython.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/users/billypython/billypython.c b/users/billypython/billypython.c deleted file mode 100644 index 19744b9956..0000000000 --- a/users/billypython/billypython.c +++ /dev/null @@ -1,32 +0,0 @@ -#include "billypython.h" - -__attribute__((weak)) -bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { - return true; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (!process_record_keymap(keycode, record)) { - return false; - } - - switch (keycode) { - case CLEAR: - if (record->event.pressed) { - SEND_STRING(SS_LCTL("a") SS_TAP(X_DELETE)); - } - return false; - - default: - return true; - } -} - -__attribute__((weak)) -layer_state_t layer_state_set_keymap(layer_state_t state) { - return state; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - return layer_state_set_keymap(state); -} |