X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fkeymap_unicode.c;h=a44965e6111baab39aed82142287c31e4ef9ee51;hb=b1900c8dde2a68e87aaabd84280a99bf6658ea9f;hp=a9357edec7bc4122dcc78afe505de12f351cbe16;hpb=46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141;p=qmk_firmware.git diff --git a/quantum/keymap_unicode.c b/quantum/keymap_unicode.c index a9357edec..a44965e61 100644 --- a/quantum/keymap_unicode.c +++ b/quantum/keymap_unicode.c @@ -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);