Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079)
This commit is contained in:
parent
ea2a7c5ea4
commit
88dce24375
6 changed files with 66 additions and 103 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue