Skip to content

Commit

Permalink
publicise variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Feb 15, 2017
1 parent 1bb574f commit c2a9acf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions quantum/process_keycode/process_unicode_common.c
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 3 additions & 1 deletion quantum/process_keycode/process_unicode_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c2a9acf

Please sign in to comment.