mirror of
https://github.com/itomato/macusbdb.git
synced 2024-09-27 08:54:53 +00:00
111 lines
1.4 KiB
C
111 lines
1.4 KiB
C
|
struct scanadb2usb_t {
|
||
|
unsigned char adb;
|
||
|
unsigned char usb;
|
||
|
};
|
||
|
//ADB to USB scancode table, generated (partially) by the tool in the
|
||
|
//exsc-dir
|
||
|
struct scanadb2usb_t scanadb2usb[] PROGMEM = {
|
||
|
{53, 41},
|
||
|
{18, 30},
|
||
|
{19, 31},
|
||
|
{20, 32},
|
||
|
{21, 33},
|
||
|
{23, 34},
|
||
|
{22, 35},
|
||
|
{26, 36},
|
||
|
{28, 37},
|
||
|
{25, 38},
|
||
|
{29, 39},
|
||
|
{27, 45},
|
||
|
{24, 46},
|
||
|
{51, 42},
|
||
|
{48, 43},
|
||
|
{12, 20},
|
||
|
{13, 26},
|
||
|
{14, 8},
|
||
|
{15, 21},
|
||
|
{17, 23},
|
||
|
{16, 28},
|
||
|
{32, 24},
|
||
|
{34, 12},
|
||
|
{31, 18},
|
||
|
{35, 19},
|
||
|
{33, 47},
|
||
|
{30, 48},
|
||
|
{36, 40},
|
||
|
// {54, 224},
|
||
|
{0, 4},
|
||
|
{1, 22},
|
||
|
{2, 7},
|
||
|
{3, 9},
|
||
|
{5, 10},
|
||
|
{4, 11},
|
||
|
{38, 13},
|
||
|
{40, 14},
|
||
|
{37, 15},
|
||
|
{41, 51},
|
||
|
{39, 52},
|
||
|
{50, 53},
|
||
|
// {56, 225},
|
||
|
{42, 49},
|
||
|
{6, 29},
|
||
|
{7, 27},
|
||
|
{8, 6},
|
||
|
{9, 25},
|
||
|
{11, 5},
|
||
|
{45, 17},
|
||
|
{46, 16},
|
||
|
{43, 54},
|
||
|
{47, 55},
|
||
|
{44, 56},
|
||
|
// {123, 229},
|
||
|
{67, 85},
|
||
|
{55, 226},
|
||
|
{49, 44},
|
||
|
{57, 57},
|
||
|
{122, 58},
|
||
|
{120, 59},
|
||
|
{99, 60},
|
||
|
{118, 61},
|
||
|
{96, 62},
|
||
|
{97, 63},
|
||
|
{98, 64},
|
||
|
{100, 65},
|
||
|
{101, 66},
|
||
|
{109, 67},
|
||
|
{71, 83},
|
||
|
{107, 71},
|
||
|
{89, 95},
|
||
|
{91, 96},
|
||
|
{92, 97},
|
||
|
{78, 86},
|
||
|
{86, 92},
|
||
|
{87, 93},
|
||
|
{88, 94},
|
||
|
{69, 87},
|
||
|
{83, 89},
|
||
|
{84, 90},
|
||
|
{85, 91},
|
||
|
{82, 98},
|
||
|
{65, 99},
|
||
|
{103, 68},
|
||
|
{111, 69},
|
||
|
{76, 88},
|
||
|
{75, 84},
|
||
|
// {124, 230},
|
||
|
{117, 76},
|
||
|
{113, 72},
|
||
|
{115, 74},
|
||
|
{62, 82},
|
||
|
{116, 75},
|
||
|
{59, 80},
|
||
|
{60, 79},
|
||
|
{119, 77},
|
||
|
{61, 81},
|
||
|
{121, 78},
|
||
|
{114, 73},
|
||
|
// {125, 228},
|
||
|
{255, 116}, //power key
|
||
|
{0,0}
|
||
|
};
|