summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-15 23:39:51 +0100
committerJack Humbert <jack.humb@gmail.com>2017-02-15 23:39:51 +0100
commitc2a9acffd712145dc8b924005feb060c5ac3e2ff (patch)
tree4cb3a79977059993d36d425b86315a9652e94787 /quantum
parent1bb574fe48bf73af4f3a4dadcff62599fd5dbb9a (diff)
downloadqmk_firmware-c2a9acffd712145dc8b924005feb060c5ac3e2ff.tar.gz
qmk_firmware-c2a9acffd712145dc8b924005feb060c5ac3e2ff.tar.xz
publicise variables
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_unicode_common.c3
-rw-r--r--quantum/process_keycode/process_unicode_common.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_unicode_common.c b/quantum/process_keycode/process_unicode_common.c
index 1a9d470c9..baeee6d08 100644
--- a/quantum/process_keycode/process_unicode_common.c
+++ b/quantum/process_keycode/process_unicode_common.c
@@ -1,8 +1,5 @@
#include "process_unicode_common.h"
-static uint8_t input_mode;
-uint8_t mods;
-
void set_unicode_input_mode(uint8_t os_target)
{
input_mode = os_target;
diff --git a/quantum/process_keycode/process_unicode_common.h b/quantum/process_keycode/process_unicode_common.h
index 171ecbca1..9c26cfb07 100644
--- a/quantum/process_keycode/process_unicode_common.h
+++ b/quantum/process_keycode/process_unicode_common.h
@@ -7,13 +7,15 @@
#define UNICODE_TYPE_DELAY 10
#endif
+static uint8_t input_mode;
+uint8_t mods;
+
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);
-
#define UC_OSX 0 // Mac OS X
#define UC_LNX 1 // Linux
#define UC_WIN 2 // Windows 'HexNumpad'