A bit of datatype modernization

pull/18/head
Jesse Vincent 9 years ago
parent 264bcd24c0
commit 33ecb8c2e2

@ -4,8 +4,8 @@
#include "HIDTables.h" #include "HIDTables.h"
#include "HIDAliases.h" #include "HIDAliases.h"
typedef struct { typedef struct {
byte flags; int8_t flags;
byte rawKey; int8_t rawKey;
} Key; } Key;

@ -17,7 +17,7 @@
#define LED_COUNT 64 #define LED_COUNT 64
static const int key_led_map[4][16] = { static const int8_t key_led_map[4][16] = {
{3,4,11,12,19,20,26,27, 36,37,43,44,51,52,59,60}, {3,4,11,12,19,20,26,27, 36,37,43,44,51,52,59,60},
{2,5,10,13,18,21,31,28, 35,32,42,45,50,53,58,61}, {2,5,10,13,18,21,31,28, 35,32,42,45,50,53,58,61},
{1,6,9,14, 17,22,25,29, 34,38,41,46,49,54,57,62}, {1,6,9,14, 17,22,25,29, 34,38,41,46,49,54,57,62},

Loading…
Cancel
Save