publicise variables

This commit is contained in:
Jack Humbert 2017-02-15 17:39:51 -05:00
parent 1bb574fe48
commit c2a9acffd7
2 changed files with 3 additions and 4 deletions

View file

@ -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;

View file

@ -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'