mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 11:06:37 +06:00
14 lines
317 B
C
14 lines
317 B
C
#include "process_unicode.h"
|
|
#include "action_util.h"
|
|
|
|
bool process_unicode(uint16_t keycode, keyrecord_t *record) {
|
|
if (keycode > QK_UNICODE && record->event.pressed) {
|
|
uint16_t unicode = keycode & 0x7FFF;
|
|
unicode_input_start();
|
|
register_hex(unicode);
|
|
unicode_input_finish();
|
|
}
|
|
return true;
|
|
}
|
|
|