summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/coderkun_neo2/keymap.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-12 18:03:44 +1100
committerGitHub <noreply@github.com>2021-03-12 18:03:44 +1100
commit88dce243750d9e80948cd7262566182018d7bbdf (patch)
tree01fef7490b57303772b58c6cd0986c6d38b372f5 /layouts/community/ergodox/coderkun_neo2/keymap.c
parentea2a7c5ea4c4509ea7008a835eb9b98b0b1c05d6 (diff)
Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079)
Diffstat (limited to 'layouts/community/ergodox/coderkun_neo2/keymap.c')
-rw-r--r--layouts/community/ergodox/coderkun_neo2/keymap.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/layouts/community/ergodox/coderkun_neo2/keymap.c b/layouts/community/ergodox/coderkun_neo2/keymap.c
index a6fe61079d..638442676a 100644
--- a/layouts/community/ergodox/coderkun_neo2/keymap.c
+++ b/layouts/community/ergodox/coderkun_neo2/keymap.c
@@ -269,31 +269,3 @@ void unicode_input_start (void) {
unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
};
-
-// Override method to use NEO_A instead of KC_A
-uint16_t hex_to_keycode(uint8_t hex)
-{
- if(hex == 0x0) {
- return KC_0;
- }
- else if(hex >= 0xA) {
- switch(hex) {
- case 0xA:
- return NEO_A;
- case 0xB:
- return NEO_B;
- case 0xC:
- return NEO_C;
- case 0xD:
- return NEO_D;
- case 0xE:
- return NEO_E;
- case 0xF:
- return NEO_F;
- default:
- return KC_NO;
- }
- }
-
- return KC_1 + (hex - 0x1);
-}