1
0
Fork 0
This commit is contained in:
Jack Humbert 2016-01-15 23:10:30 -05:00
parent 4c100dbbef
commit 6e3c36360e
2 changed files with 4 additions and 2 deletions

View file

@ -30,6 +30,8 @@ uint16_t hextokeycode(int hex) {
void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
{
// For more info on how this works per OS, see here: https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input
if (record->event.pressed) {
uint16_t unicode = (opt << 8) | id;
register_code(KC_LALT);