This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Merge pull request
#707
from algernon/f/unicode/get-mode
process_unicode: Add get_unicode_input_mode()
pull/710/head
Jack Humbert
7 years ago
committed by
GitHub
parent
27f9671a3e
c9ea236fc3
commit
e28d151a8a
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
quantum/process_keycode/process_unicode.c
+1
-0
quantum/process_keycode/process_unicode.h
+ 4
- 0
quantum/process_keycode/process_unicode.c
View File
@ -18,6 +18,10 @@ void set_unicode_input_mode(uint8_t os_target)
input_mode
=
os_target
;
}
uint8_t
get_unicode_input_mode
(
void
)
{
return
input_mode
;
}
__attribute__
(
(
weak
)
)
void
unicode_input_start
(
void
)
{
switch
(
input_mode
)
{
+ 1
- 0
quantum/process_keycode/process_unicode.h
View File
@ -13,6 +13,7 @@
#
endif
void
set_unicode_input_mode
(
uint8_t
os_target
)
;
uint8_t
get_unicode_input_mode
(
void
)
;
void
unicode_input_start
(
void
)
;
void
unicode_input_finish
(
void
)
;
void
register_hex
(
uint16_t
hex
)
;
Write
Preview
Loading…
Cancel
Save