feat(joystick): add support for Android gamepad features (#4626)

This commit is contained in:
ThomasKuehne
2024-06-05 18:17:36 +10:00
committed by GitHub
parent dc1bc4cef2
commit e9465dd006
40 changed files with 69427 additions and 69110 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+449 -442
View File
@@ -1,7 +1,7 @@
/******************************************************************************* /*******************************************************************************
* Size: 16 px * Size: 16 px
* Bpp: 4 * Bpp: 4
* Opts: --no-prefilter --bpp 4 --size 16 --font ../Noto/NotoSansCJKsc-Regular.otf -r 0x20-0x7F,0xB0,0x2022,0x2265,0x3001,0x3002,0x3042,0x3044,0x3048,0x304a,0x304b,0x304c,0x304d,0x304e,0x304f,0x3051,0x3053,0x3055,0x3057,0x3058,0x3059,0x305a,0x305b,0x305d,0x305f,0x3060,0x3063,0x3064,0x3066,0x3067,0x3068,0x306a,0x306b,0x306e,0x306f,0x3078,0x3079,0x307e,0x307f,0x3080,0x3081,0x3082,0x3089,0x308a,0x308b,0x308c,0x308f,0x3092,0x3093,0x30a1,0x30a2,0x30a3,0x30a4,0x30a6,0x30a7,0x30a8,0x30a9,0x30aa,0x30ab,0x30ac,0x30ad,0x30af,0x30b0,0x30b1,0x30b2,0x30b3,0x30b5,0x30b6,0x30b7,0x30b8,0x30b9,0x30ba,0x30bb,0x30bc,0x30bd,0x30be,0x30bf,0x30c0,0x30c1,0x30c3,0x30c4,0x30c6,0x30c7,0x30c8,0x30c9,0x30ca,0x30cb,0x30cd,0x30ce,0x30cf,0x30d0,0x30d1,0x30d2,0x30d3,0x30d4,0x30d5,0x30d6,0x30d7,0x30d8,0x30d9,0x30da,0x30db,0x30dc,0x30dd,0x30de,0x30df,0x30e0,0x30e1,0x30e2,0x30e3,0x30e4,0x30e5,0x30e6,0x30e7,0x30e8,0x30e9,0x30ea,0x30eb,0x30ec,0x30ed,0x30ef,0x30f3,0x30fc,0x4e00,0x4e0a,0x4e0b,0x4e0d,0x4e21,0x4e2d,0x4e57,0x4e86,0x4ed6,0x4ed8,0x4ef6,0x4efb,0x4f4d,0x4f4e,0x4f53,0x4f5c,0x4f7f,0x4fdd,0x4fe1,0x4fee,0x500d,0x5024,0x504f,0x505c,0x5074,0x5099,0x50cf,0x5143,0x5145,0x5148,0x5165,0x5168,0x516c,0x5171,0x5177,0x5185,0x5186,0x518d,0x51fa,0x5206,0x521d,0x5225,0x5229,0x524a,0x524d,0x5272,0x529b,0x529f,0x52a0,0x52b9,0x52d5,0x5316,0x5358,0x53bb,0x53d7,0x53f3,0x53f7,0x5408,0x540c,0x540d,0x5411,0x5426,0x542b,0x544a,0x5468,0x554f,0x5668,0x56de,0x56f2,0x56fa,0x5727,0x5728,0x5747,0x57cb,0x5831,0x5857,0x5897,0x58f0,0x5909,0x5916,0x591a,0x5927,0x592e,0x5931,0x5968,0x59cb,0x5b58,0x5b8c,0x5b9a,0x5b9f,0x5bb9,0x5bfe,0x5c0f,0x5c11,0x5de6,0x5dee,0x5e38,0x5e73,0x5ea6,0x5ea7,0x5ef6,0x5f0f,0x5f31,0x5f35,0x5f37,0x5f53,0x5f62,0x5f71,0x5f85,0x5f8c,0x5fa9,0x5fae,0x5fc5,0x5fdc,0x6025,0x60c5,0x60f3,0x610f,0x614b,0x6210,0x624b,0x629e,0x62bc,0x62d2,0x62e1,0x6301,0x633f,0x63a5,0x63a8,0x63c3,0x63db,0x64cd,0x6557,0x6570,0x6587,0x65b0,0x65b9,0x65e2,0x65e5,0x660e,0x6642,0x666f,0x66f4,0x66f8,0x6700,0x6709,0x671f,0x672a,0x672b,0x672c,0x6761,0x67a0,0x683c,0x691c,0x6975,0x6982,0x69cb,0x6a19,0x6a5f,0x6b62,0x6b63,0x6b8b,0x6bce,0x6bd4,0x6c17,0x6c60,0x6cd5,0x6ce2,0x6d88,0x6e1b,0x6e29,0x6e90,0x6e96,0x6f14,0x6f70,0x7121,0x72b6,0x7387,0x73fe,0x7406,0x751f,0x7528,0x753b,0x756a,0x767b,0x7740,0x78ba,0x793a,0x79d2,0x79f0,0x79fb,0x7a7a,0x7a81,0x7aef,0x7b2c,0x7b54,0x7b97,0x7ba1,0x7bc4,0x7cbe,0x7d20,0x7d22,0x7d30,0x7d42,0x7d4c,0x7d71,0x7d99,0x7d9a,0x7dca,0x7dd1,0x7dda,0x7de8,0x7f6e,0x7f72,0x8003,0x8005,0x80cc,0x80fd,0x81ea,0x826f,0x8272,0x8535,0x884c,0x885d,0x8868,0x8870,0x88c5,0x88fd,0x8907,0x8981,0x898b,0x898f,0x8996,0x8a00,0x8a08,0x8a18,0x8a2d,0x8a3c,0x8a72,0x8a73,0x8a8d,0x8a9e,0x8aac,0x8aad,0x8ad6,0x8b58,0x8b66,0x8cbb,0x8cbc,0x8d64,0x8d77,0x8d85,0x8ddd,0x8ef8,0x8f03,0x8f1d,0x8fbc,0x8ffd,0x9001,0x901a,0x901f,0x9045,0x904e,0x9069,0x9078,0x90e8,0x91cf,0x9332,0x9577,0x958b,0x9593,0x9664,0x96c6,0x96e2,0x96fb,0x9752,0x975e,0x9762,0x97f3,0x9806,0x984c,0x98db,0x9ad8 --font EdgeTX/extra.ttf -r 0x88-0x94 --font EdgeTX/OpenArrow-Regular.woff -r 0x21E8=>0x80,0x21E6=>0x81,0x21E7=>0x82,0x21E9=>0x83 --font ../../thirdparty/libopenui/thirdparty/lvgl/scripts/built_in_font/FontAwesome5-Solid+Brands+Regular.woff -r 61441,61448,61451,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61507,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61664,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650 --format lvgl -o lv_font_noto_jp_16.c --force-fast-kern-format --no-compress * Opts: --no-prefilter --bpp 4 --size 16 --font ../Noto/NotoSansCJKsc-Regular.otf -r 0x20-0x7F,0xB0,0x2022,0x2265,0x3001,0x3002,0x3042,0x3044,0x3048,0x304a,0x304b,0x304c,0x304d,0x304e,0x304f,0x3051,0x3053,0x3055,0x3057,0x3058,0x3059,0x305a,0x305b,0x305d,0x305f,0x3060,0x3063,0x3064,0x3066,0x3067,0x3068,0x306a,0x306b,0x306e,0x306f,0x3078,0x3079,0x307e,0x307f,0x3080,0x3081,0x3082,0x3089,0x308a,0x308b,0x308c,0x308f,0x3092,0x3093,0x30a1,0x30a2,0x30a3,0x30a4,0x30a6,0x30a7,0x30a8,0x30a9,0x30aa,0x30ab,0x30ac,0x30ad,0x30af,0x30b0,0x30b1,0x30b2,0x30b3,0x30b5,0x30b6,0x30b7,0x30b8,0x30b9,0x30ba,0x30bb,0x30bc,0x30bd,0x30be,0x30bf,0x30c0,0x30c1,0x30c3,0x30c4,0x30c6,0x30c7,0x30c8,0x30c9,0x30ca,0x30cb,0x30cd,0x30ce,0x30cf,0x30d0,0x30d1,0x30d3,0x30d4,0x30d5,0x30d6,0x30d7,0x30d8,0x30d9,0x30da,0x30db,0x30dc,0x30dd,0x30de,0x30df,0x30e0,0x30e1,0x30e2,0x30e3,0x30e4,0x30e5,0x30e6,0x30e7,0x30e8,0x30e9,0x30ea,0x30eb,0x30ec,0x30ed,0x30ef,0x30f3,0x30fc,0x4e00,0x4e0a,0x4e0b,0x4e0d,0x4e21,0x4e2d,0x4e57,0x4e86,0x4ed6,0x4ed8,0x4ef6,0x4efb,0x4f4d,0x4f4e,0x4f53,0x4f5c,0x4f7f,0x4fdd,0x4fe1,0x4fee,0x500d,0x5024,0x504f,0x505c,0x5074,0x5099,0x50cf,0x5143,0x5145,0x5148,0x5165,0x5168,0x516c,0x5171,0x5177,0x5185,0x5186,0x518d,0x51fa,0x5206,0x521d,0x5225,0x5229,0x523b,0x524a,0x524d,0x5272,0x529b,0x529f,0x52a0,0x52b9,0x52d5,0x5316,0x5358,0x53bb,0x53d7,0x53f3,0x53f7,0x5408,0x540c,0x540d,0x5411,0x5426,0x542b,0x544a,0x5468,0x554f,0x5668,0x56de,0x56f2,0x56fa,0x5727,0x5728,0x5747,0x57cb,0x5831,0x5857,0x5897,0x58f0,0x5909,0x5916,0x591a,0x5927,0x592e,0x5931,0x5968,0x5b58,0x5b8c,0x5b9a,0x5b9f,0x5bb9,0x5bfe,0x5c0f,0x5c11,0x5de6,0x5dee,0x5e38,0x5e73,0x5ea6,0x5ea7,0x5ef6,0x5f0f,0x5f31,0x5f35,0x5f37,0x5f53,0x5f62,0x5f71,0x5f85,0x5f8c,0x5fa9,0x5fae,0x5fc5,0x5fdc,0x6025,0x60c5,0x60f3,0x610f,0x614b,0x6210,0x624b,0x629e,0x62bc,0x62d2,0x62e1,0x6301,0x633f,0x63a5,0x63a8,0x63c3,0x63db,0x64cd,0x6557,0x6570,0x6587,0x65b0,0x65b9,0x65e2,0x65e5,0x660e,0x6642,0x666f,0x66f4,0x66f8,0x6700,0x6709,0x671f,0x672a,0x672b,0x672c,0x6761,0x67a0,0x683c,0x691c,0x6975,0x6982,0x69cb,0x6a19,0x6a5f,0x6b62,0x6b63,0x6b8b,0x6bce,0x6bd4,0x6c17,0x6c60,0x6cd5,0x6ce2,0x6d88,0x6e1b,0x6e29,0x6e90,0x6e96,0x6f14,0x6f70,0x7121,0x72b6,0x7387,0x73fe,0x7406,0x751f,0x7528,0x753b,0x756a,0x767b,0x7740,0x78ba,0x793a,0x79d2,0x79f0,0x79fb,0x7a7a,0x7a81,0x7aef,0x7b2c,0x7b54,0x7b97,0x7ba1,0x7bc4,0x7cbe,0x7d20,0x7d22,0x7d30,0x7d42,0x7d4c,0x7d71,0x7d99,0x7d9a,0x7dca,0x7dd1,0x7dda,0x7de8,0x7f6e,0x7f72,0x8003,0x8005,0x80cc,0x80fd,0x81ea,0x826f,0x8272,0x8535,0x884c,0x885d,0x8868,0x8870,0x88c5,0x88fd,0x8907,0x8981,0x898b,0x898f,0x8996,0x89e3,0x8a00,0x8a08,0x8a18,0x8a2d,0x8a3c,0x8a72,0x8a73,0x8a8d,0x8a9e,0x8aac,0x8aad,0x8ad6,0x8b58,0x8b66,0x8cbb,0x8cbc,0x8d64,0x8d77,0x8d85,0x8ddd,0x8ef8,0x8f03,0x8f1d,0x8fbc,0x8ffd,0x9001,0x901a,0x901f,0x9045,0x904e,0x9069,0x9078,0x90e8,0x91cf,0x9332,0x9577,0x958b,0x9593,0x9664,0x96c6,0x96e2,0x96fb,0x9752,0x975e,0x9762,0x97f3,0x9806,0x984c,0x98db,0x9ad8 --font EdgeTX/extra.ttf -r 0x88-0x94 --font EdgeTX/OpenArrow-Regular.woff -r 0x21E8=>0x80,0x21E6=>0x81,0x21E7=>0x82,0x21E9=>0x83 --font ../../thirdparty/libopenui/thirdparty/lvgl/scripts/built_in_font/FontAwesome5-Solid+Brands+Regular.woff -r 61441,61448,61451,61452,61453,61457,61459,61461,61465,61468,61473,61478,61479,61480,61502,61507,61512,61515,61516,61517,61521,61522,61523,61524,61543,61544,61550,61552,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61664,61671,61674,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62087,62099,62212,62189,62810,63426,63650 --format lvgl -o lv_font_noto_jp_16.c --force-fast-kern-format --no-compress
******************************************************************************/ ******************************************************************************/
#ifdef LV_LVGL_H_INCLUDE_SIMPLE #ifdef LV_LVGL_H_INCLUDE_SIMPLE
@@ -2275,18 +2275,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xcb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xcb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
/* U+30D2 "ヒ" */
0x14, 0x0, 0x0, 0x0, 0x0, 0x5, 0xf0, 0x0,
0x0, 0x0, 0x0, 0x4f, 0x0, 0x0, 0x0, 0x0,
0x4, 0xf0, 0x0, 0x0, 0x18, 0xe0, 0x4f, 0x0,
0x16, 0xbf, 0xd7, 0x4, 0xf8, 0xcf, 0xe9, 0x30,
0x0, 0x4f, 0xc7, 0x30, 0x0, 0x0, 0x4, 0xf0,
0x0, 0x0, 0x0, 0x0, 0x4f, 0x0, 0x0, 0x0,
0x0, 0x4, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x4f,
0x10, 0x0, 0x0, 0x0, 0x2, 0xfa, 0x54, 0x44,
0x56, 0x88, 0x5, 0xcf, 0xff, 0xff, 0xed, 0x80,
0x0, 0x0, 0x0, 0x0, 0x0,
/* U+30D3 "ビ" */ /* U+30D3 "ビ" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x53, 0xc0, 0xf, 0x60, 0x0, 0x0, 0x0, 0x0, 0x53, 0xc0, 0xf, 0x60, 0x0,
@@ -3389,6 +3377,23 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xe4, 0x0, 0x0, 0xb7, 0x0, 0x0, 0x2f, 0xeb, 0xe4, 0x0, 0x0, 0xb7, 0x0, 0x0, 0x2f, 0xeb,
0x10, 0x10,
/* U+523B "刻" */
0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x8, 0xc0, 0x0, 0x0, 0x0, 0x3e, 0x9,
0x99, 0xaf, 0xb9, 0x95, 0x2b, 0x3, 0xe0, 0x77,
0x8f, 0x97, 0x77, 0x43, 0xe0, 0x3e, 0x0, 0xb,
0x90, 0x4, 0x10, 0x3e, 0x3, 0xe0, 0x8, 0xc0,
0x3, 0xf1, 0x3, 0xe0, 0x3e, 0x7, 0xfd, 0xcd,
0xf6, 0x0, 0x3e, 0x3, 0xe0, 0x25, 0x44, 0xda,
0x3, 0x3, 0xe0, 0x3e, 0x0, 0x1, 0xdb, 0x3,
0xf2, 0x3e, 0x3, 0xe0, 0x5, 0xe9, 0x1, 0xd5,
0x3, 0xe0, 0x3e, 0x9, 0xe6, 0x1, 0xc9, 0x0,
0x3e, 0x3, 0xe0, 0x21, 0x2, 0xcf, 0xa0, 0x0,
0x10, 0x3e, 0x0, 0x5, 0xf8, 0x1c, 0xb0, 0x0,
0x3, 0xe0, 0x3c, 0xe5, 0x0, 0xd, 0x80, 0x11,
0x6e, 0xa, 0x91, 0x0, 0x0, 0x10, 0xa, 0xfe,
0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+524A "削" */ /* U+524A "削" */
0x53, 0xd, 0x50, 0x59, 0x0, 0x0, 0x3e, 0x6c, 0x53, 0xd, 0x50, 0x59, 0x0, 0x0, 0x3e, 0x6c,
0xd, 0x50, 0xb8, 0x6, 0x10, 0x3e, 0xf, 0x2d, 0xd, 0x50, 0xb8, 0x6, 0x10, 0x3e, 0xf, 0x2d,
@@ -4087,23 +4092,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x1b, 0xef, 0xa3, 0x0, 0x0, 0x5b, 0xfd, 0xb1, 0x1b, 0xef, 0xa3, 0x0, 0x0, 0x5b, 0xfd, 0xb1,
0x5, 0x20, 0x0, 0x0, 0x0, 0x0, 0x14, 0x50, 0x5, 0x20, 0x0, 0x0, 0x0, 0x0, 0x14, 0x50,
/* U+59CB "始" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x3e, 0x0, 0x0, 0x7, 0xc0, 0x0, 0x0,
0x0, 0x6b, 0x0, 0x0, 0xe, 0x50, 0x0, 0x0,
0x1, 0x99, 0x11, 0x0, 0x7d, 0x2, 0xc0, 0x0,
0x4f, 0xff, 0xff, 0x21, 0xe3, 0x0, 0xb8, 0x0,
0x0, 0xe2, 0xf, 0xa, 0x80, 0x0, 0x3f, 0x30,
0x2, 0xe0, 0x2e, 0x6f, 0xde, 0xff, 0xff, 0xb0,
0x6, 0xb0, 0x4c, 0x36, 0x53, 0x21, 0x0, 0xc1,
0xa, 0x70, 0x89, 0x1, 0x11, 0x11, 0x11, 0x0,
0xa, 0xd2, 0xc4, 0xc, 0xff, 0xff, 0xff, 0x30,
0x0, 0x8f, 0xf0, 0xc, 0x40, 0x0, 0xe, 0x30,
0x0, 0xb, 0xf4, 0xc, 0x40, 0x0, 0xe, 0x30,
0x0, 0x4e, 0x7f, 0x3c, 0x40, 0x0, 0xe, 0x30,
0x3, 0xe4, 0x6, 0x1c, 0x84, 0x44, 0x4f, 0x30,
0x1c, 0x30, 0x0, 0xc, 0xdb, 0xbb, 0xbf, 0x30,
/* U+5B58 "存" */ /* U+5B58 "存" */
0x0, 0x0, 0x0, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x1, 0xf3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf3, 0x0, 0x0, 0x0, 0x0,
@@ -6590,6 +6578,24 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0xe, 0x35, 0xd4, 0x0, 0x9, 0xee, 0xa0, 0x0, 0xe, 0x35, 0xd4, 0x0, 0x9, 0xee, 0xa0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+89E3 "解" */
0x0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x4d, 0x0, 0x0, 0x7f, 0xff, 0xff, 0xf3,
0x0, 0x9f, 0xef, 0xe0, 0x0, 0x79, 0x0, 0xe2,
0x1, 0xf3, 0xc, 0x80, 0x0, 0xd4, 0x0, 0xf1,
0xa, 0xf7, 0x9f, 0x97, 0x5, 0xe0, 0x2, 0xf0,
0x1e, 0xf5, 0xe6, 0x7e, 0x6e, 0x31, 0xde, 0xa0,
0x1, 0xf0, 0xd0, 0x1e, 0x35, 0x42, 0xa1, 0x0,
0x0, 0xfa, 0xfa, 0xae, 0x9, 0x83, 0xd0, 0x0,
0x1, 0xf4, 0xe4, 0x5e, 0xe, 0xff, 0xff, 0xf3,
0x1, 0xe0, 0xd0, 0x1e, 0x6c, 0x14, 0xe1, 0x10,
0x2, 0xf8, 0xf9, 0x9e, 0x33, 0x3, 0xd0, 0x0,
0x3, 0xd5, 0xe6, 0x7e, 0x7f, 0xff, 0xff, 0xfa,
0x6, 0x90, 0xd0, 0x1e, 0x1, 0x14, 0xe1, 0x10,
0xb, 0x50, 0xd0, 0x2e, 0x0, 0x3, 0xd0, 0x0,
0x1c, 0x0, 0x5b, 0xf9, 0x0, 0x3, 0xd0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+8A00 "言" */ /* U+8A00 "言" */
0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x1e, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1e, 0x70, 0x0, 0x0, 0x0,
@@ -8595,380 +8601,380 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 13657, .adv_w = 256, .box_w = 14, .box_h = 12, .ofs_x = 1, .ofs_y = 0}, {.bitmap_index = 13657, .adv_w = 256, .box_w = 14, .box_h = 12, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 13741, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 13741, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 13854, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 13854, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 13959, .adv_w = 256, .box_w = 11, .box_h = 14, .ofs_x = 3, .ofs_y = -1}, {.bitmap_index = 13959, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 14036, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 14057, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 14134, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 14148, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 14225, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 14226, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 14303, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 14331, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 14408, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 14429, .adv_w = 256, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14506, .adv_w = 256, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 14517, .adv_w = 256, .box_w = 15, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14594, .adv_w = 256, .box_w = 15, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 14607, .adv_w = 256, .box_w = 15, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14684, .adv_w = 256, .box_w = 15, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 14697, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 14774, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 14795, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 14872, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 14915, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 14992, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 15020, .adv_w = 256, .box_w = 14, .box_h = 13, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 15097, .adv_w = 256, .box_w = 14, .box_h = 13, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 15111, .adv_w = 256, .box_w = 11, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 15188, .adv_w = 256, .box_w = 11, .box_h = 14, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 15188, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 15265, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 15286, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 15363, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 15377, .adv_w = 256, .box_w = 14, .box_h = 13, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 15454, .adv_w = 256, .box_w = 14, .box_h = 13, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 15468, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 15545, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 15540, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 15617, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 15638, .adv_w = 256, .box_w = 12, .box_h = 9, .ofs_x = 2, .ofs_y = 0},
{.bitmap_index = 15715, .adv_w = 256, .box_w = 12, .box_h = 9, .ofs_x = 2, .ofs_y = 0}, {.bitmap_index = 15692, .adv_w = 256, .box_w = 14, .box_h = 11, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 15769, .adv_w = 256, .box_w = 14, .box_h = 11, .ofs_x = 1, .ofs_y = 0}, {.bitmap_index = 15769, .adv_w = 256, .box_w = 10, .box_h = 10, .ofs_x = 3, .ofs_y = -1},
{.bitmap_index = 15846, .adv_w = 256, .box_w = 10, .box_h = 10, .ofs_x = 3, .ofs_y = -1}, {.bitmap_index = 15819, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 15896, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 15897, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 15974, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 15988, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
{.bitmap_index = 16065, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1}, {.bitmap_index = 16058, .adv_w = 256, .box_w = 15, .box_h = 13, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 16135, .adv_w = 256, .box_w = 15, .box_h = 13, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 16156, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 3, .ofs_y = -1},
{.bitmap_index = 16233, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 3, .ofs_y = -1}, {.bitmap_index = 16234, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 16311, .adv_w = 256, .box_w = 12, .box_h = 12, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 16306, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 16383, .adv_w = 256, .box_w = 12, .box_h = 13, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 16384, .adv_w = 256, .box_w = 13, .box_h = 13, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 16461, .adv_w = 256, .box_w = 13, .box_h = 13, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 16469, .adv_w = 256, .box_w = 14, .box_h = 2, .ofs_x = 1, .ofs_y = 5},
{.bitmap_index = 16546, .adv_w = 256, .box_w = 14, .box_h = 2, .ofs_x = 1, .ofs_y = 5}, {.bitmap_index = 16483, .adv_w = 256, .box_w = 16, .box_h = 2, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 16560, .adv_w = 256, .box_w = 16, .box_h = 2, .ofs_x = 0, .ofs_y = 5}, {.bitmap_index = 16499, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 16576, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 16611, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 16688, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 16723, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 16800, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 16835, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 16912, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 16947, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 17024, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 17045, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 17122, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 17165, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 17242, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 17263, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 17340, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 17383, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 17460, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 17511, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 17588, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 17639, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 17716, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 17759, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 17836, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 17879, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 17956, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 18007, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18084, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18127, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 18204, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 18255, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18332, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18375, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 18452, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 18503, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18580, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18623, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18700, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18743, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18820, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18863, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 18940, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 18983, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 19060, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 19096, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 19173, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 19216, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19293, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 19344, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 19421, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 19464, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19541, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 19592, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19669, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 19712, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19789, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 19840, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19917, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 19960, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20037, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 20088, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 20165, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 20208, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20285, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 20328, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20405, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 20448, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20525, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 20568, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 20645, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 20666, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 20743, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 20764, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 20841, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 20876, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 20953, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 20974, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 21051, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 21094, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 21171, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 21214, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 21291, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 21327, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 21404, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 21440, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 21517, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 21560, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 21622, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 21665, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 21750, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 21793, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 21855, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 21898, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 21960, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 22003, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 22080, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 22123, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 22193, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 22236, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 22313, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 22356, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 22441, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 22484, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 22561, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 22604, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 22681, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 22724, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 22793, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 22836, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 22929, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 22972, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 23042, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 23085, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 23147, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 23190, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 23267, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 23310, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 23365, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 23408, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 23470, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 23513, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 23575, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 23618, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 23687, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 23730, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 23807, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 23850, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 23912, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 23955, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 24017, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 24060, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 24115, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 24158, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 24227, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 24270, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 24325, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 24368, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 24423, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 24466, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 24521, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 24564, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 24641, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 24684, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 24754, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 24797, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 24874, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 24917, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 24986, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 25029, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 25106, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 25149, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 25226, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 25269, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 25339, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 25382, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 25452, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 25495, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 25580, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 25623, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 25700, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 25743, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 25820, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 25863, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 25940, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 25983, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26060, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26103, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26180, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26223, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26308, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 26351, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26428, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26479, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26556, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26607, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26684, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26727, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 26804, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 26855, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 26932, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 26968, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 27045, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 27088, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 27165, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 27208, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 27285, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 27328, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 27405, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 27448, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 27525, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 27561, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 27638, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 27659, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 27736, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 27771, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 27848, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 27899, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 27976, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28027, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 28104, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28155, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 28232, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 28267, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 28344, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28380, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 28457, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28500, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 28577, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28628, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 28705, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 28726, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 28803, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 28854, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 28931, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 28974, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29051, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29094, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29171, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29214, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29291, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29334, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 29411, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 29462, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29539, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29582, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 29659, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 29710, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29787, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29830, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 29907, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 29942, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 30019, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 30047, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 30124, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 30152, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 30229, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 30272, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 30349, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 30392, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 30469, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 30520, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 30597, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 30640, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 30717, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 30753, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 30830, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 30873, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 30950, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 30985, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31062, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31105, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31182, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31233, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31310, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31353, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31430, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31473, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31550, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31593, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31670, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31713, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31790, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31833, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 31910, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 31961, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 32038, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 32081, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 32158, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 32209, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 32286, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 32329, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 32406, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 32449, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 32526, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 32562, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 32639, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 32646, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 32723, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 32751, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 32828, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 32856, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 32933, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 32961, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 33038, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 33081, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33158, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33193, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33270, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33305, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33382, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33418, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 33495, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 33531, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33608, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33643, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33720, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33755, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33832, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33867, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 33944, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 33987, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 34064, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 34107, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 34184, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 34235, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 34312, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 34363, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 34440, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 34483, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 34560, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 34611, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 34688, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 34723, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 34800, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 34835, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 34912, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 34955, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 35032, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 35067, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 35144, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 35179, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 35256, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 35299, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 35376, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 35427, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 35504, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 35539, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 35616, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 35667, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 35744, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 35779, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 35856, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 35884, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 35961, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 36004, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 36081, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 36116, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 36193, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 36244, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 36321, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 36372, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 36449, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 36492, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 36569, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 36612, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 36689, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 36732, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 36809, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 36852, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 36929, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 36980, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37057, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 37092, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37169, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 37212, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 37289, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 37340, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37417, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 37452, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37529, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 37564, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 37641, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 37677, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 37754, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 37775, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37852, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 37895, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 37972, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38015, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 38092, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38128, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 38205, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38248, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 38325, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38360, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 38437, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38472, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 38549, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 38592, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 38669, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 38720, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 38797, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 38825, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 38902, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 38953, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 39030, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 39073, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 39150, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 39201, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 39278, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 39321, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 39398, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 39449, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 39526, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 39569, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 39646, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 39689, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 39766, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 39817, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 39894, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 39929, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 40006, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 40027, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 40104, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 40140, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 40217, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 40268, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 40345, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 40396, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 40473, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 40524, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 40601, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 40652, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 40729, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 40772, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 40849, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 40892, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 40969, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 41012, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 41089, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 41132, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 41209, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 41252, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 41329, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 41364, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 41441, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 41476, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 41553, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 41589, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 41666, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 41701, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 41778, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 41821, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 41898, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 41934, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
{.bitmap_index = 42011, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1}, {.bitmap_index = 42024, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 42101, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 42136, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 42213, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 42256, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 42333, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 42368, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 42445, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 42488, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 42565, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 42616, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 42693, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 42736, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 42813, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 42856, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 42933, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 42976, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43053, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43104, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43181, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43232, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43309, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43352, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43429, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43472, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43549, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43592, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43669, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 43720, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 43797, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 43848, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 43917, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 43968, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 44030, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 44081, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 44150, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 44201, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 44278, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 44329, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 44398, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 44449, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 44526, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 44577, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 44646, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 44697, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 44774, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 44825, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 44894, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 44945, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45022, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 45073, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45150, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 45201, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 45270, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 45321, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45390, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 45441, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 45510, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 45561, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45630, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 45681, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45750, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 45801, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 45862, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 45913, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 45982, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46033, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 46102, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 46153, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 46207, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 46258, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 46312, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46363, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 46440, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 46491, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 46552, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46603, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 46680, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46731, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 46808, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46859, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 46936, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 46987, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47064, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47115, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47184, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47235, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47304, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47355, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47432, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47483, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47560, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47611, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47688, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 47739, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 47816, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 47867, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 47928, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 47979, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 48048, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 48099, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 48168, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 48219, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 48266, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 48317, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 48364, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 48415, .adv_w = 256, .box_w = 15, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 48484, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 48535, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 48604, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 48655, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 48724, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 48775, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 48829, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 48880, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 48927, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 48978, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 49040, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 49091, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 49152, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 49203, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 49272, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 49323, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 49400, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 49451, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 49528, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 49579, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 49648, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 49699, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 49753, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 49804, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 49889, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 49940, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 49985, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 50036, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 50097, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 50148, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 50193, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 50244, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 50259, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 50310, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 50387, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 50438, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 50515, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 50566, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 50641, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 50692, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 50769, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 50820, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 50877, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 50928, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 51005, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 51056, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 51061, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 51112, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 51145, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 51196, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 51289, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 51340, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 51385, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 51436, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 51473, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 51524, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 51553, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 51604, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 51679, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 51730, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 51784, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 51835, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 51882, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 51933, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 51962, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1}, {.bitmap_index = 52013, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1},
{.bitmap_index = 52074, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 52125, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 52144, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 52195, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 52214, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 52265, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 52312, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4}, {.bitmap_index = 52363, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 52340, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 52391, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 52448, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 52499, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 52608, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 52659, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 52768, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 52819, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 52896, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 52947, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 52966, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 53017, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 53036, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 53087, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 53176, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 53227, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 53272, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 53323, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 53400, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 53451, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 53545, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 53596, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 53650, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 53701, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 53762, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 53813, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 53860, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 53911, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 53958, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 54009, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 54054, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 54105, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 54150, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 54201, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 54262, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 54313, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 54374, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 54425, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 54482, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 54533, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 54644, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 54695, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 54740, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 54791, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 54890, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 54941, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 54990, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 55041, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 55090, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 55141, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 55190, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 55241, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 55290, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 55341, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 55390, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 55441, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 55537, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 55588, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 55633, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 55684, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 55745, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 55796, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 55890, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 55941, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 56010, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 56061, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 56106, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1} {.bitmap_index = 56157, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1}
}; };
/*--------------------- /*---------------------
@@ -8990,7 +8996,8 @@ static const uint8_t glyph_id_ofs_list_4[] = {
14, 15, 16, 0, 17, 18, 19, 20, 14, 15, 16, 0, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 21, 22, 23, 24, 25, 26, 27, 28,
29, 0, 30, 31, 0, 32, 33, 34, 29, 0, 30, 31, 0, 32, 33, 34,
35, 36, 37 35, 36, 37, 0, 38, 39, 40, 41,
42
}; };
static const uint16_t unicode_list_6[] = { static const uint16_t unicode_list_6[] = {
@@ -8999,13 +9006,13 @@ static const uint16_t unicode_list_6[] = {
0x1e5f, 0x1e64, 0x1e6d, 0x1e90, 0x1eee, 0x1ef2, 0x1eff, 0x1f1e, 0x1e5f, 0x1e64, 0x1e6d, 0x1e90, 0x1eee, 0x1ef2, 0x1eff, 0x1f1e,
0x1f35, 0x1f60, 0x1f6d, 0x1f85, 0x1faa, 0x1fe0, 0x2054, 0x2056, 0x1f35, 0x1f60, 0x1f6d, 0x1f85, 0x1faa, 0x1fe0, 0x2054, 0x2056,
0x2059, 0x2076, 0x2079, 0x207d, 0x2082, 0x2088, 0x2096, 0x2097, 0x2059, 0x2076, 0x2079, 0x207d, 0x2082, 0x2088, 0x2096, 0x2097,
0x209e, 0x210b, 0x2117, 0x212e, 0x2136, 0x213a, 0x215b, 0x215e, 0x209e, 0x210b, 0x2117, 0x212e, 0x2136, 0x213a, 0x214c, 0x215b,
0x2183, 0x21ac, 0x21b0, 0x21b1, 0x21ca, 0x21e6, 0x2227, 0x2269, 0x215e, 0x2183, 0x21ac, 0x21b0, 0x21b1, 0x21ca, 0x21e6, 0x2227,
0x22cc, 0x22e8, 0x2304, 0x2308, 0x2319, 0x231d, 0x231e, 0x2322, 0x2269, 0x22cc, 0x22e8, 0x2304, 0x2308, 0x2319, 0x231d, 0x231e,
0x2337, 0x233c, 0x235b, 0x2379, 0x2460, 0x2579, 0x25ef, 0x2603, 0x2322, 0x2337, 0x233c, 0x235b, 0x2379, 0x2460, 0x2579, 0x25ef,
0x260b, 0x2638, 0x2639, 0x2658, 0x26dc, 0x2742, 0x2768, 0x27a8, 0x2603, 0x260b, 0x2638, 0x2639, 0x2658, 0x26dc, 0x2742, 0x2768,
0x2801, 0x281a, 0x2827, 0x282b, 0x2838, 0x283f, 0x2842, 0x2879, 0x27a8, 0x2801, 0x281a, 0x2827, 0x282b, 0x2838, 0x283f, 0x2842,
0x28dc, 0x2a69, 0x2a9d, 0x2aab, 0x2ab0, 0x2aca, 0x2b0f, 0x2b20, 0x2879, 0x2a69, 0x2a9d, 0x2aab, 0x2ab0, 0x2aca, 0x2b0f, 0x2b20,
0x2b22, 0x2cf7, 0x2cff, 0x2d49, 0x2d84, 0x2db7, 0x2db8, 0x2e07, 0x2b22, 0x2cf7, 0x2cff, 0x2d49, 0x2d84, 0x2db7, 0x2db8, 0x2e07,
0x2e20, 0x2e42, 0x2e46, 0x2e48, 0x2e64, 0x2e73, 0x2e82, 0x2e96, 0x2e20, 0x2e42, 0x2e46, 0x2e48, 0x2e64, 0x2e73, 0x2e82, 0x2e96,
0x2e9d, 0x2eba, 0x2ebf, 0x2ed6, 0x2eed, 0x2f36, 0x2fd6, 0x3004, 0x2e9d, 0x2eba, 0x2ebf, 0x2ed6, 0x2eed, 0x2f36, 0x2fd6, 0x3004,
@@ -9023,21 +9030,21 @@ static const uint16_t unicode_list_6[] = {
0x4c82, 0x4caa, 0x4cab, 0x4cdb, 0x4ce2, 0x4ceb, 0x4cf9, 0x4e7f, 0x4c82, 0x4caa, 0x4cab, 0x4cdb, 0x4ce2, 0x4ceb, 0x4cf9, 0x4e7f,
0x4e83, 0x4f14, 0x4f16, 0x4fdd, 0x500e, 0x50fb, 0x5180, 0x5183, 0x4e83, 0x4f14, 0x4f16, 0x4fdd, 0x500e, 0x50fb, 0x5180, 0x5183,
0x5446, 0x575d, 0x576e, 0x5779, 0x5781, 0x57d6, 0x580e, 0x5818, 0x5446, 0x575d, 0x576e, 0x5779, 0x5781, 0x57d6, 0x580e, 0x5818,
0x5892, 0x589c, 0x58a0, 0x58a7, 0x5911, 0x5919, 0x5929, 0x593e, 0x5892, 0x589c, 0x58a0, 0x58a7, 0x58f4, 0x5911, 0x5919, 0x5929,
0x594d, 0x5983, 0x5984, 0x599e, 0x59af, 0x59bd, 0x59be, 0x59e7, 0x593e, 0x594d, 0x5983, 0x5984, 0x599e, 0x59af, 0x59bd, 0x59be,
0x5a69, 0x5a77, 0x5bcc, 0x5bcd, 0x5c75, 0x5c88, 0x5c96, 0x5cee, 0x59e7, 0x5a69, 0x5a77, 0x5bcc, 0x5bcd, 0x5c75, 0x5c88, 0x5c96,
0x5e09, 0x5e14, 0x5e2e, 0x5ecd, 0x5f0e, 0x5f12, 0x5f2b, 0x5f30, 0x5cee, 0x5e09, 0x5e14, 0x5e2e, 0x5ecd, 0x5f0e, 0x5f12, 0x5f2b,
0x5f56, 0x5f5f, 0x5f7a, 0x5f89, 0x5ff9, 0x60e0, 0x6243, 0x6488, 0x5f30, 0x5f56, 0x5f5f, 0x5f7a, 0x5f89, 0x5ff9, 0x60e0, 0x6243,
0x649c, 0x64a4, 0x6575, 0x65d7, 0x65f3, 0x660c, 0x6663, 0x666f, 0x6488, 0x649c, 0x64a4, 0x6575, 0x65d7, 0x65f3, 0x660c, 0x6663,
0x6673, 0x6704, 0x6717, 0x675d, 0x67ec, 0x69e9, 0xbf12, 0xbf19, 0x666f, 0x6673, 0x6704, 0x6717, 0x675d, 0x67ec, 0x69e9, 0xbf12,
0xbf1c, 0xbf1d, 0xbf1e, 0xbf22, 0xbf24, 0xbf26, 0xbf2a, 0xbf2d, 0xbf19, 0xbf1c, 0xbf1d, 0xbf1e, 0xbf22, 0xbf24, 0xbf26, 0xbf2a,
0xbf32, 0xbf37, 0xbf38, 0xbf39, 0xbf4f, 0xbf54, 0xbf59, 0xbf5c, 0xbf2d, 0xbf32, 0xbf37, 0xbf38, 0xbf39, 0xbf4f, 0xbf54, 0xbf59,
0xbf5d, 0xbf5e, 0xbf62, 0xbf63, 0xbf64, 0xbf65, 0xbf78, 0xbf79, 0xbf5c, 0xbf5d, 0xbf5e, 0xbf62, 0xbf63, 0xbf64, 0xbf65, 0xbf78,
0xbf7f, 0xbf81, 0xbf82, 0xbf85, 0xbf88, 0xbf89, 0xbf8a, 0xbf8c, 0xbf79, 0xbf7f, 0xbf81, 0xbf82, 0xbf85, 0xbf88, 0xbf89, 0xbf8a,
0xbfa4, 0xbfa6, 0xbfd5, 0xbfd6, 0xbfd8, 0xbfda, 0xbff1, 0xbff8, 0xbf8c, 0xbfa4, 0xbfa6, 0xbfd5, 0xbfd6, 0xbfd8, 0xbfda, 0xbff1,
0xbffb, 0xc004, 0xc02d, 0xc035, 0xc06c, 0xc0fc, 0xc151, 0xc152, 0xbff8, 0xbffb, 0xc004, 0xc02d, 0xc035, 0xc06c, 0xc0fc, 0xc151,
0xc153, 0xc154, 0xc155, 0xc198, 0xc1a4, 0xc1fe, 0xc215, 0xc46b, 0xc152, 0xc153, 0xc154, 0xc155, 0xc198, 0xc1a4, 0xc1fe, 0xc215,
0xc6d3, 0xc7b3 0xc46b, 0xc6d3, 0xc7b3
}; };
/*Collect the unicode lists and glyph_id offsets*/ /*Collect the unicode lists and glyph_id offsets*/
@@ -9060,16 +9067,16 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
.unicode_list = unicode_list_3, .glyph_id_ofs_list = NULL, .list_length = 48, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY .unicode_list = unicode_list_3, .glyph_id_ofs_list = NULL, .list_length = 48, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
}, },
{ {
.range_start = 12449, .range_length = 43, .glyph_id_start = 161, .range_start = 12449, .range_length = 49, .glyph_id_start = 161,
.unicode_list = NULL, .glyph_id_ofs_list = glyph_id_ofs_list_4, .list_length = 43, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL .unicode_list = NULL, .glyph_id_ofs_list = glyph_id_ofs_list_4, .list_length = 49, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL
}, },
{ {
.range_start = 12493, .range_length = 33, .glyph_id_start = 199, .range_start = 12499, .range_length = 27, .glyph_id_start = 204,
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
}, },
{ {
.range_start = 12527, .range_length = 51124, .glyph_id_start = 232, .range_start = 12527, .range_length = 51124, .glyph_id_start = 231,
.unicode_list = unicode_list_6, .glyph_id_ofs_list = NULL, .list_length = 346, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY .unicode_list = unicode_list_6, .glyph_id_ofs_list = NULL, .list_length = 347, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
} }
}; };
@@ -9106,11 +9113,11 @@ static const uint8_t kern_left_class_mapping[] =
88, 89, 90, 91, 92, 93, 94, 0, 88, 89, 90, 91, 92, 93, 94, 0,
95, 96, 97, 98, 99, 100, 101, 102, 95, 96, 97, 98, 99, 100, 101, 102,
103, 104, 105, 50, 106, 107, 0, 108, 103, 104, 105, 50, 106, 107, 0, 108,
109, 110, 111, 111, 0, 112, 0, 113, 109, 110, 111, 111, 112, 0, 113, 114,
114, 115, 0, 116, 0, 0, 0, 0, 115, 0, 116, 0, 0, 0, 0, 117,
117, 0, 118, 0, 0, 50, 119, 120, 0, 118, 0, 0, 50, 119, 120, 0,
0, 0, 0, 121, 122, 123, 124, 0, 0, 0, 121, 122, 123, 124, 0, 125,
125, 126, 127, 0, 0, 0, 0, 0, 126, 127, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -9184,11 +9191,11 @@ static const uint8_t kern_right_class_mapping[] =
80, 81, 82, 83, 84, 84, 85, 86, 80, 81, 82, 83, 84, 84, 85, 86,
87, 87, 88, 89, 90, 91, 87, 69, 87, 87, 88, 89, 90, 91, 87, 69,
92, 93, 94, 95, 96, 97, 87, 98, 92, 93, 94, 95, 96, 97, 87, 98,
99, 100, 101, 102, 0, 0, 0, 103, 99, 100, 101, 102, 0, 0, 103, 104,
104, 105, 106, 107, 108, 0, 0, 0, 105, 106, 107, 108, 0, 0, 0, 109,
109, 110, 111, 112, 0, 113, 114, 115, 110, 111, 112, 0, 113, 114, 115, 116,
116, 0, 0, 117, 0, 118, 119, 0, 0, 0, 117, 0, 118, 119, 0, 0,
0, 120, 121, 0, 0, 0, 0, 0, 120, 121, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -2367,7 +2367,7 @@ void menuModelSetup(event_t event)
break; break;
case ITEM_MODEL_SETUP_USBJOYSTICK_CIRC_CUTOUT: case ITEM_MODEL_SETUP_USBJOYSTICK_CIRC_CUTOUT:
g_model.usbJoystickCircularCut = editChoice(MODEL_SETUP_2ND_COLUMN, y, STR_USBJOYSTICK_CIRC_COUTOUT, STR_VUSBJOYSTICK_CIRC_COUTOUT, g_model.usbJoystickCircularCut, 0, 2, attr, event, INDENT_WIDTH); g_model.usbJoystickCircularCut = editChoice(MODEL_SETUP_2ND_COLUMN, y, STR_USBJOYSTICK_CIRC_COUTOUT, STR_VUSBJOYSTICK_CIRC_COUTOUT, g_model.usbJoystickCircularCut, 0, USBJOYS_CC_LAST, attr, event, INDENT_WIDTH);
break; break;
case ITEM_MODEL_SETUP_USBJOYSTICK_CH_BUTTON: case ITEM_MODEL_SETUP_USBJOYSTICK_CH_BUTTON:
+1 -1
View File
@@ -2012,7 +2012,7 @@ void menuModelSetup(event_t event)
break; break;
case ITEM_MODEL_SETUP_USBJOYSTICK_CIRC_CUTOUT: case ITEM_MODEL_SETUP_USBJOYSTICK_CIRC_CUTOUT:
g_model.usbJoystickCircularCut = editChoice(MODEL_SETUP_2ND_COLUMN, y, STR_USBJOYSTICK_CIRC_COUTOUT, STR_VUSBJOYSTICK_CIRC_COUTOUT, g_model.usbJoystickCircularCut, 0, 2, attr, event, INDENT_WIDTH); g_model.usbJoystickCircularCut = editChoice(MODEL_SETUP_2ND_COLUMN, y, STR_USBJOYSTICK_CIRC_COUTOUT, STR_VUSBJOYSTICK_CIRC_COUTOUT, g_model.usbJoystickCircularCut, 0, USBJOYS_CC_LAST, attr, event, INDENT_WIDTH);
break; break;
case ITEM_MODEL_SETUP_USBJOYSTICK_CH_BUTTON: case ITEM_MODEL_SETUP_USBJOYSTICK_CH_BUTTON:
+2 -2
View File
@@ -1247,13 +1247,13 @@
#define TR_USBJOYSTICK_CH_AXIS "轴" #define TR_USBJOYSTICK_CH_AXIS "轴"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","旋转X","旋转Y","旋转Z","推杆","拨轮","方向盘" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","旋转X","旋转Y","旋转Z","推杆","拨轮","方向盘"
#define TR_USBJOYSTICK_CH_SIM "模拟轴" #define TR_USBJOYSTICK_CH_SIM "模拟轴"
#define TR_VUSBJOYSTICK_CH_SIM "横滚Ail","俯仰Ele","方向Rud","油门Thr" #define TR_VUSBJOYSTICK_CH_SIM "横滚","俯仰","航向","油门","加速","刹车","转盘","方向"
#define TR_USBJOYSTICK_CH_INVERSION "反转" #define TR_USBJOYSTICK_CH_INVERSION "反转"
#define TR_USBJOYSTICK_CH_BTNNUM "按钮编号." #define TR_USBJOYSTICK_CH_BTNNUM "按钮编号."
#define TR_USBJOYSTICK_BTN_COLLISION "!按钮编号冲突!" #define TR_USBJOYSTICK_BTN_COLLISION "!按钮编号冲突!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!轴冲突!" #define TR_USBJOYSTICK_AXIS_COLLISION "!轴冲突!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("圆口行程", "圆口行程") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("圆口行程", "圆口行程")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "禁用","X-Y, Z-旋转X","X-Y, 旋转X-旋转Y" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "无","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "应用更改" #define TR_USBJOYSTICK_APPLY_CHANGES "应用更改"
#define TR_DIGITAL_SERVO "数字舵机333HZ" #define TR_DIGITAL_SERVO "数字舵机333HZ"
+2 -2
View File
@@ -1262,13 +1262,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Žádný","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes" #define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes"
#define TR_DIGITAL_SERVO "Servo 333Hz" #define TR_DIGITAL_SERVO "Servo 333Hz"
+2 -2
View File
@@ -1262,13 +1262,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Akse" #define TR_USBJOYSTICK_CH_AXIS "Akse"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Skyder","Drej","Hjul" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Skyder","Drej","Hjul"
#define TR_USBJOYSTICK_CH_SIM "Sim akse" #define TR_USBJOYSTICK_CH_SIM "Sim akse"
#define TR_VUSBJOYSTICK_CH_SIM "Kræ","Høj","Sid","Gas" #define TR_VUSBJOYSTICK_CH_SIM TR_STICK_NAMES3,TR_STICK_NAMES1,TR_STICK_NAMES0,TR_STICK_NAMES2,"Acc","Brems","Styr","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Omvendt" #define TR_USBJOYSTICK_CH_INVERSION "Omvendt"
#define TR_USBJOYSTICK_CH_BTNNUM "Knap #" #define TR_USBJOYSTICK_CH_BTNNUM "Knap #"
#define TR_USBJOYSTICK_BTN_COLLISION "!Knap # kollision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Knap # kollision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Akse kollision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Akse kollision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Cirk. klip", "Cikulær klip") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Cirk. klip", "Cikulær klip")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "Ingen","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Ingen","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Gem ændringer" #define TR_USBJOYSTICK_APPLY_CHANGES "Gem ændringer"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1253,13 +1253,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Achse" #define TR_USBJOYSTICK_CH_AXIS "Achse"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Schieber","Dial","Rad" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Schieber","Dial","Rad"
#define TR_USBJOYSTICK_CH_SIM "Sim Achse" #define TR_USBJOYSTICK_CH_SIM "Sim Achse"
#define TR_VUSBJOYSTICK_CH_SIM "Que","Höh","Sei","Gas" #define TR_VUSBJOYSTICK_CH_SIM "Quer","Höhe","Seite","Gas","Beschl.","Bremsen","Lenkung","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Invers" #define TR_USBJOYSTICK_CH_INVERSION "Invers"
#define TR_USBJOYSTICK_CH_BTNNUM "Tastennr." #define TR_USBJOYSTICK_CH_BTNNUM "Tastennr."
#define TR_USBJOYSTICK_BTN_COLLISION "!Tastennr. Kollision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Tastennr. Kollision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Achsen Kollision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Achsen Kollision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "kein","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "kein","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Änd. übernehmen" #define TR_USBJOYSTICK_APPLY_CHANGES "Änd. übernehmen"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1250,13 +1250,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes" #define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1250,13 +1250,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes" #define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1266,13 +1266,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes" #define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1265,13 +1265,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axes" #define TR_USBJOYSTICK_CH_AXIS "Axes"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Curseur","Cadran","Volant" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Curseur","Cadran","Volant"
#define TR_USBJOYSTICK_CH_SIM "Voies Simu" #define TR_USBJOYSTICK_CH_SIM "Voies Simu"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Prof","Dir","Gaz" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Prof","Dir","Gaz","Acc","Frein","Gouv","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Bouton no." #define TR_USBJOYSTICK_CH_BTNNUM "Bouton no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Bouton anti collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Bouton anti collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Collision des Axes!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Collision des Axes!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Déc. Circ.", "Découpe circulaire") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Déc. Circ.", "Découpe circulaire")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "Aucun","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Aucun","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Appliquer changement" #define TR_USBJOYSTICK_APPLY_CHANGES "Appliquer changement"
#define TR_DIGITAL_SERVO "Servo 333HZ" #define TR_DIGITAL_SERVO "Servo 333HZ"
+2 -2
View File
@@ -1249,13 +1249,13 @@
#define TR_USBJOYSTICK_CH_AXIS "צירים" #define TR_USBJOYSTICK_CH_AXIS "צירים"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "ציר סימולטור" #define TR_USBJOYSTICK_CH_SIM "ציר סימולטור"
#define TR_VUSBJOYSTICK_CH_SIM "מאזנות","ה.גובה","ה.כיוון","מנוע" #define TR_VUSBJOYSTICK_CH_SIM "מאזנות","ה.גובה","ה.כיוון","מנוע","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "היפוך" #define TR_USBJOYSTICK_CH_INVERSION "היפוך"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "החל שינויים" #define TR_USBJOYSTICK_APPLY_CHANGES "החל שינויים"
#define TR_DIGITAL_SERVO "333HZ סרוו דיגיטאלי" #define TR_DIGITAL_SERVO "333HZ סרוו דיגיטאלי"
+2 -2
View File
@@ -1244,13 +1244,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Assi" #define TR_USBJOYSTICK_CH_AXIS "Assi"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim assi" #define TR_USBJOYSTICK_CH_SIM "Sim assi"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ale","Ele","Dir","Mot","Acc","Fre","Sterz","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversione" #define TR_USBJOYSTICK_CH_INVERSION "Inversione"
#define TR_USBJOYSTICK_CH_BTNNUM "Pulsante no." #define TR_USBJOYSTICK_CH_BTNNUM "Pulsante no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Collisione pulsante no.!" #define TR_USBJOYSTICK_BTN_COLLISION "!Collisione pulsante no.!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Collisione assi!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Collisione assi!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Rit. Cir.", "Ritaglio circolare") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Rit. Cir.", "Ritaglio circolare")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "Nessuno","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Nessuno","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Applica modifiche" #define TR_USBJOYSTICK_APPLY_CHANGES "Applica modifiche"
#define TR_DIGITAL_SERVO "Servo 333HZ" #define TR_DIGITAL_SERVO "Servo 333HZ"
+2 -2
View File
@@ -1249,13 +1249,13 @@
#define TR_USBJOYSTICK_CH_AXIS "軸" #define TR_USBJOYSTICK_CH_AXIS "軸"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","Xロール","Yロール","Zロール","スライダー","ダイヤル","ホイール" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","Xロール","Yロール","Zロール","スライダー","ダイヤル","ホイール"
#define TR_USBJOYSTICK_CH_SIM "シミュ軸" #define TR_USBJOYSTICK_CH_SIM "シミュ軸"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "リバース" #define TR_USBJOYSTICK_CH_INVERSION "リバース"
#define TR_USBJOYSTICK_CH_BTNNUM "ボタンNo." #define TR_USBJOYSTICK_CH_BTNNUM "ボタンNo."
#define TR_USBJOYSTICK_BTN_COLLISION "!ボタンNo.の衝突!" #define TR_USBJOYSTICK_BTN_COLLISION "!ボタンNo.の衝突!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!軸設定の衝突!" #define TR_USBJOYSTICK_AXIS_COLLISION "!軸設定の衝突!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "円形カット") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "円形カット")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "なし","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "なし","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "変更を適用" #define TR_USBJOYSTICK_APPLY_CHANGES "変更を適用"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1256,13 +1256,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes" #define TR_USBJOYSTICK_APPLY_CHANGES "Apply changes"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1249,13 +1249,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Oś" #define TR_USBJOYSTICK_CH_AXIS "Oś"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Suwak","Wyb.","Koło" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Suwak","Wyb.","Koło"
#define TR_USBJOYSTICK_CH_SIM "Oś sym." #define TR_USBJOYSTICK_CH_SIM "Oś sym."
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Odwróć" #define TR_USBJOYSTICK_CH_INVERSION "Odwróć"
#define TR_USBJOYSTICK_CH_BTNNUM "Guzik nr." #define TR_USBJOYSTICK_CH_BTNNUM "Guzik nr."
#define TR_USBJOYSTICK_BTN_COLLISION "!Kolizja nr. guzika!" #define TR_USBJOYSTICK_BTN_COLLISION "!Kolizja nr. guzika!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Kolizja osi!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Kolizja osi!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Zastosuj zmiany" #define TR_USBJOYSTICK_APPLY_CHANGES "Zastosuj zmiany"
#define TR_DIGITAL_SERVO "Serwo 333HZ" #define TR_DIGITAL_SERVO "Serwo 333HZ"
+2 -2
View File
@@ -1253,13 +1253,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Eixo" #define TR_USBJOYSTICK_CH_AXIS "Eixo"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Sim axis" #define TR_USBJOYSTICK_CH_SIM "Sim axis"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Pfd","Lem","Mot","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Inversion" #define TR_USBJOYSTICK_CH_INVERSION "Inversion"
#define TR_USBJOYSTICK_CH_BTNNUM "Button no." #define TR_USBJOYSTICK_CH_BTNNUM "Button no."
#define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!" #define TR_USBJOYSTICK_BTN_COLLISION "!Button no. collision!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axis collision!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Circ. cut", "Circular cutout")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "None","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Nenh","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Appl mudanças" #define TR_USBJOYSTICK_APPLY_CHANGES "Appl mudanças"
#define TR_DIGITAL_SERVO "Servo333HZ" #define TR_DIGITAL_SERVO "Servo333HZ"
+2 -2
View File
@@ -1252,13 +1252,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Ось" #define TR_USBJOYSTICK_CH_AXIS "Ось"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Slider","Dial","Wheel"
#define TR_USBJOYSTICK_CH_SIM "Симуляция оси" #define TR_USBJOYSTICK_CH_SIM "Симуляция оси"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Инверсия" #define TR_USBJOYSTICK_CH_INVERSION "Инверсия"
#define TR_USBJOYSTICK_CH_BTNNUM "Номер кнопки" #define TR_USBJOYSTICK_CH_BTNNUM "Номер кнопки"
#define TR_USBJOYSTICK_BTN_COLLISION "!Конфликт ном кнопок!" #define TR_USBJOYSTICK_BTN_COLLISION "!Конфликт ном кнопок!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Конфликт осей!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Конфликт осей!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Круг. вырез", "Круглый вырез") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Круг. вырез", "Круглый вырез")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "нет","X-Y, Z-rotX","X-Y, rotX-rotY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "нет","X-Y, Z-rotX","X-Y, rotX-rotY","X-Y, Z-rotZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Применить изменения" #define TR_USBJOYSTICK_APPLY_CHANGES "Применить изменения"
#define TR_DIGITAL_SERVO "Серво 333HZ" #define TR_DIGITAL_SERVO "Серво 333HZ"
+2 -2
View File
@@ -1286,13 +1286,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Axis" #define TR_USBJOYSTICK_CH_AXIS "Axis"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Reglage","Vred","Hjul" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Reglage","Vred","Hjul"
#define TR_USBJOYSTICK_CH_SIM "Sim.axlar" #define TR_USBJOYSTICK_CH_SIM "Sim.axlar"
#define TR_VUSBJOYSTICK_CH_SIM "Ske","Hjd","Rod","Gas","Acc","Brms","dpad" #define TR_VUSBJOYSTICK_CH_SIM "Ske","Hjd","Rod","Gas","Acc","Brms","Styr","dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Invertering" #define TR_USBJOYSTICK_CH_INVERSION "Invertering"
#define TR_USBJOYSTICK_CH_BTNNUM "Knapp nr." #define TR_USBJOYSTICK_CH_BTNNUM "Knapp nr."
#define TR_USBJOYSTICK_BTN_COLLISION "!Knappnr. krockar!" #define TR_USBJOYSTICK_BTN_COLLISION "!Knappnr. krockar!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Axlar krockar!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Axlar krockar!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Cirk. klipp", "Cirkulärt klipp") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Cirk. klipp", "Cirkulärt klipp")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "Ingen","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Ingen","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Tillämpa ändringar" #define TR_USBJOYSTICK_APPLY_CHANGES "Tillämpa ändringar"
#define TR_DIGITAL_SERVO "Servo333Hz" #define TR_DIGITAL_SERVO "Servo333Hz"
+2 -2
View File
@@ -1252,13 +1252,13 @@
#define TR_USBJOYSTICK_CH_AXIS "轴" #define TR_USBJOYSTICK_CH_AXIS "轴"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","旋轉X","旋轉Y","旋轉Z","推桿","撥輪","方向盤" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","旋轉X","旋轉Y","旋轉Z","推桿","撥輪","方向盤"
#define TR_USBJOYSTICK_CH_SIM "模擬軸" #define TR_USBJOYSTICK_CH_SIM "模擬軸"
#define TR_VUSBJOYSTICK_CH_SIM "橫滾Ail","俯仰Ele","方向Rud","油門Thr" #define TR_VUSBJOYSTICK_CH_SIM "橫滾","俯仰","航向","油門","加速","剎車","轉盤","方向"
#define TR_USBJOYSTICK_CH_INVERSION "反轉" #define TR_USBJOYSTICK_CH_INVERSION "反轉"
#define TR_USBJOYSTICK_CH_BTNNUM "按鈕編號." #define TR_USBJOYSTICK_CH_BTNNUM "按鈕編號."
#define TR_USBJOYSTICK_BTN_COLLISION "!按鈕編號衝突!" #define TR_USBJOYSTICK_BTN_COLLISION "!按鈕編號衝突!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!軸衝突!" #define TR_USBJOYSTICK_AXIS_COLLISION "!軸衝突!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("圓口行程", "圓口行程") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("圓口行程", "圓口行程")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "禁用","X-Y, Z-旋轉X","X-Y, 旋轉X-旋轉Y" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "無","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "應用更改" #define TR_USBJOYSTICK_APPLY_CHANGES "應用更改"
#define TR_DIGITAL_SERVO "數字舵機333HZ" #define TR_DIGITAL_SERVO "數字舵機333HZ"
+2 -2
View File
@@ -1252,13 +1252,13 @@
#define TR_USBJOYSTICK_CH_AXIS "Вісь" #define TR_USBJOYSTICK_CH_AXIS "Вісь"
#define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Повзунок","Dial","Колесо" #define TR_VUSBJOYSTICK_CH_AXIS "X","Y","Z","rotX","rotY","rotZ","Повзунок","Dial","Колесо"
#define TR_USBJOYSTICK_CH_SIM "Сим. вісі" #define TR_USBJOYSTICK_CH_SIM "Сим. вісі"
#define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr" #define TR_VUSBJOYSTICK_CH_SIM "Ail","Ele","Rud","Thr","Acc","Brk","Steer","Dpad"
#define TR_USBJOYSTICK_CH_INVERSION "Інверсія" #define TR_USBJOYSTICK_CH_INVERSION "Інверсія"
#define TR_USBJOYSTICK_CH_BTNNUM "Номер Кнопки" #define TR_USBJOYSTICK_CH_BTNNUM "Номер Кнопки"
#define TR_USBJOYSTICK_BTN_COLLISION "!Конфлікт номерів кнопок!" #define TR_USBJOYSTICK_BTN_COLLISION "!Конфлікт номерів кнопок!"
#define TR_USBJOYSTICK_AXIS_COLLISION "!Конфлікт осей!" #define TR_USBJOYSTICK_AXIS_COLLISION "!Конфлікт осей!"
#define TR_USBJOYSTICK_CIRC_COUTOUT TR("Круговий виріз", "Круговий виріз") #define TR_USBJOYSTICK_CIRC_COUTOUT TR("Круговий виріз", "Круговий виріз")
#define TR_VUSBJOYSTICK_CIRC_COUTOUT "Немає","X-Y, Z-rX","X-Y, rX-rY" #define TR_VUSBJOYSTICK_CIRC_COUTOUT "Немає","X-Y, Z-rX","X-Y, rX-rY","X-Y, Z-rZ"
#define TR_USBJOYSTICK_APPLY_CHANGES "Застосувати зміни" #define TR_USBJOYSTICK_APPLY_CHANGES "Застосувати зміни"
#define TR_DIGITAL_SERVO "Серво 333HZ" #define TR_DIGITAL_SERVO "Серво 333HZ"
+398 -271
View File
@@ -19,11 +19,12 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include "usb_joystick.h"
#include <math.h> #include <math.h>
#include "opentx.h"
#include "hal/usb_driver.h" #include "hal/usb_driver.h"
#include "usb_joystick.h" #include "opentx.h"
#define MAX_HID_REPORTDESC 160 #define MAX_HID_REPORTDESC 160
#define MAX_HID_REPORT 80 #define MAX_HID_REPORT 80
@@ -43,23 +44,22 @@ struct _usbJSData {
static struct _usbJSData* _usbJS = nullptr; static struct _usbJSData* _usbJS = nullptr;
static uint8_t _buttonState[(USBJ_BUTTON_SIZE+7) >> 3] = { }; static uint8_t _buttonState[(USBJ_BUTTON_SIZE + 7) >> 3] = {};
static uint8_t _usbJoystickIfMode = 0; static uint8_t _usbJoystickIfMode = 0;
static uint8_t _usbJoystickCircularCut = 0; static uint8_t _usbJoystickCircularCut = 0;
#define USBJ_CC_XYZrX 1
#define USBJ_CC_XYrXrZ 2
static uint8_t _usbJoystickButtonCount = 0; static uint8_t _usbJoystickButtonCount = 0;
static uint8_t _usbJoystickAxisCount = 0; static uint8_t _usbJoystickAxisCount = 0;
static uint8_t _usbJoystickAxisPairs[3][2] = { }; static uint8_t _usbJoystickAxisPairs[2][2] = {};
static int8_t _usbJoystickDpadChannel = -1;
// clang-format off
/* /*
This USB HID endpoint report description defines a device with: This USB HID endpoint report description defines a device with:
* 24 digital buttons * 24 digital buttons
* 8 analog axes with 16bit resolution * 8 analog axes with 11bit resolution
* remaining battery capacity * remaining battery capacity
Report packet described as C struct is: Report packet described as C struct is:
@@ -87,12 +87,12 @@ static const uint8_t HID_JOYSTICK_ReportDesc[] =
0x09, 0x01, // USAGE (Pointer) 0x09, 0x01, // USAGE (Pointer)
0xa1, 0x00, // COLLECTION (Physical) 0xa1, 0x00, // COLLECTION (Physical)
0x05, 0x09, // USAGE_PAGE (Button) 0x05, 0x09, // USAGE_PAGE (Button)
0x19, 0x01, // USAGE_MINIMUM (Button 1) 0x75, 0x01, // REPORT_SIZE (1)
0x29, 0x18, // USAGE_MAXIMUM (Button 24)
0x14, // LOGICAL_MINIMUM (0) 0x14, // LOGICAL_MINIMUM (0)
0x25, 0x01, // LOGICAL_MAXIMUM (1) 0x25, 0x01, // LOGICAL_MAXIMUM (1)
0x19, 0x01, // USAGE_MINIMUM (Button 1)
0x29, 0x18, // USAGE_MAXIMUM (Button 24)
0x95, 0x18, // REPORT_COUNT (24) 0x95, 0x18, // REPORT_COUNT (24)
0x75, 0x01, // REPORT_SIZE (1)
0x81, 0x02, // INPUT (Data,Var,Abs) 0x81, 0x02, // INPUT (Data,Var,Abs)
0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x05, 0x01, // USAGE_PAGE (Generic Desktop)
0x09, 0x30, // USAGE (X) 0x09, 0x30, // USAGE (X)
@@ -118,14 +118,44 @@ static const uint8_t HID_JOYSTICK_ReportDesc[] =
0x81, 0x02, // INPUT (Data,Var,Abs) 0x81, 0x02, // INPUT (Data,Var,Abs)
0xc0 // END_COLLECTION 0xc0 // END_COLLECTION
}; };
// clang-format on
// clang-format off
/*
This partial HID description defines an Android compliant dpad / hat switch
https://source.android.com/docs/compatibility/14/android-14-cdd#726_game_controller_support
In addtion the D-Pad keys are mapped for applications using custom HID raw
processing.
*/
static const uint8_t HID_JOYSTICK_DpadDesc[] =
{
0x14, // LOGICAL_MINIMUM 0
0x25, 0x07, // LOGICAL_MAXIMUM 7
0x34, // PHYSICAL_MINIMUM 0
0x46, 0x3B, 0x01, // PHYSICAL_MAXIMUM 315
0x75, 0x04, // REPORT_SIZE 4 Number of bits per field
0x95, 0x01, // REPORT_COUNT 1 Number of fields
0x05, 0x01, // USAGE_PAGE Generic Desktop Page
0x09, 0x39, // USAGE Hat switch (Dynamic Value)
0x65, 0x14, // UNIT Rotation in degrees [1° units] (4=System=English Rotation, 1=Rotation=Degrees)
0x81, 0x42, // INPUT (1 field x 4 bits) 1=Variable 1=Null
0x19, 0x90, // USAGE_MINIMUM 0x00010090 D-pad Up
0x29, 0x93, // USAGE_MAXIMUM 0x00010093 D-pad Left
0x25, 0x01, // LOGICAL_MAXIMUM 0x01 (1)
0x44, // PHYSICAL_MAXIMUM (0)
0x64, // UNIT No unit (0=None)
0x75, 0x01, // REPORT_SIZE 0x01 (1) Number of bits per field
0x95, 0x04, // REPORT_COUNT 0x04 (4) Number of fields
0x81, 0x02, // INPUT 0x00000002 (4 fields x 1 bit) 0=Data 1=Variable 0=Absolute 0=NoWrap 0=Linear 0=PrefState 0=NoNull 0=NonVolatile 0=Bitmap
};
// clang-format on
static bool isUniqueAxisType(int type) { return type < 6; } static bool isUniqueAxisType(int type) { return type < 6; }
static bool isUniqueSimType(int type) { return true; } static bool isUniqueSimType(int type) { return true; }
int usbJoystickExtMode() int usbJoystickExtMode() { return g_model.usbJoystickExtMode; }
{
return g_model.usbJoystickExtMode;
}
int usbJoystickActive() int usbJoystickActive()
{ {
@@ -136,266 +166,316 @@ int usbJoystickSettingsChanged()
{ {
static uint32_t settingsChecksum = 0; static uint32_t settingsChecksum = 0;
if (!usbJoystickActive()) if (!usbJoystickActive()) return false;
return false;
if ((_usbJoystickIfMode != g_model.usbJoystickIfMode) || if ((_usbJoystickIfMode != g_model.usbJoystickIfMode) ||
(_usbJoystickCircularCut != g_model.usbJoystickCircularCut)) (_usbJoystickCircularCut != g_model.usbJoystickCircularCut))
return true; return true;
uint32_t oldChecksum = settingsChecksum; uint32_t oldChecksum = settingsChecksum;
settingsChecksum = hash((uint8_t*)&g_model.usbJoystickCh, sizeof(g_model.usbJoystickCh)); settingsChecksum =
hash((uint8_t*)&g_model.usbJoystickCh, sizeof(g_model.usbJoystickCh));
return oldChecksum != settingsChecksum; return oldChecksum != settingsChecksum;
} }
int setupUSBJoystick() int setupUSBJoystick()
{ {
static const uint8_t axisTypeCodes[USBJOYS_AXIS_LAST + 1] = static const uint8_t axisTypeCodes[USBJOYS_AXIS_LAST + 1] = {
{ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38 }; 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38};
static const uint8_t simTypeCodes[USBJOYS_SIM_LAST + 1] = static const uint8_t simTypeCodes[USBJOYS_SIM_LAST + 1] = {
{ 0xb0, 0xb8, 0xba, 0xbb }; 0xb0, 0xb8, 0xba, 0xbb, 0xc4, 0xc5, 0xc8, 0x00};
if (_hidReportDesc == nullptr) { if (_hidReportDesc == nullptr) {
_hidReportDesc = (uint8_t*)malloc(MAX_HID_REPORTDESC); _hidReportDesc = (uint8_t*)malloc(MAX_HID_REPORTDESC);
if (_hidReportDesc == nullptr) if (_hidReportDesc == nullptr) return false;
return false;
} }
if (_hidReport == nullptr) { if (_hidReport == nullptr) {
_hidReport = (uint8_t*)malloc(MAX_HID_REPORT); _hidReport = (uint8_t*)malloc(MAX_HID_REPORT);
if (_hidReport == nullptr) if (_hidReport == nullptr) return false;
return false;
}
if (_usbJS == nullptr) {
_usbJS = (struct _usbJSData*)malloc(sizeof(struct _usbJSData));
if (_usbJS == nullptr)
return false;
} }
// properties to detect change // properties to detect change
uint8_t oldHIDReportDescSize = _hidReportDescSize; uint8_t oldHIDReportDescSize = _hidReportDescSize;
uint32_t oldChecksum = hash(_hidReportDesc, _hidReportDescSize); uint32_t oldChecksum = hash(_hidReportDesc, _hidReportDescSize);
// copy the model snapshot
_usbJoystickIfMode = g_model.usbJoystickIfMode;
_usbJoystickCircularCut = g_model.usbJoystickCircularCut;
// Init data // Init data
memset(_hidReportDesc, 0, MAX_HID_REPORTDESC); memset(_hidReportDesc, 0, MAX_HID_REPORTDESC);
_hidReportDescSize = 0; _hidReportDescSize = 0;
memset(_hidReport, 0, MAX_HID_REPORT); memset(_hidReport, 0, MAX_HID_REPORT);
_hidReportSize = 0; _hidReportSize = 0;
memset(_buttonState, 0, ((USBJ_BUTTON_SIZE+7) >> 3));
memset(_usbJS, 0, sizeof(struct _usbJSData));
memset(_usbJS->_usbLastChannelOutput, 0xff, sizeof(_usbJS->_usbLastChannelOutput));
_usbJoystickButtonCount = 0;
_usbJoystickAxisCount = 0;
memset(_usbJoystickAxisPairs, 0xff, sizeof(_usbJoystickAxisPairs));
if (!usbJoystickExtMode()) { if (!usbJoystickExtMode()) {
// Classic USB Joystick report description // Classic USB Joystick report description
memcpy(_hidReportDesc, HID_JOYSTICK_ReportDesc, sizeof(HID_JOYSTICK_ReportDesc)); memcpy(_hidReportDesc, HID_JOYSTICK_ReportDesc,
sizeof(HID_JOYSTICK_ReportDesc));
_hidReportDescSize = sizeof(HID_JOYSTICK_ReportDesc); _hidReportDescSize = sizeof(HID_JOYSTICK_ReportDesc);
_hidReportSize = 20; _hidReportSize = 20;
} else { } else {
// Init data only required for advanced mode
if (_usbJS == nullptr) {
_usbJS = (struct _usbJSData*)malloc(sizeof(struct _usbJSData));
if (_usbJS == nullptr) return false;
}
uint8_t genAxisCount = 0; memset(_buttonState, 0, ((USBJ_BUTTON_SIZE + 7) >> 3));
uint8_t simAxisCount = 0; memset(_usbJS, 0, sizeof(struct _usbJSData));
uint8_t buttonCount = 0; memset(_usbJS->_usbLastChannelOutput, 0xff,
sizeof(_usbJS->_usbLastChannelOutput));
memset(_usbJoystickAxisPairs, 0xff, sizeof(_usbJoystickAxisPairs));
// sort channels by type // copy the model snapshot
uint8_t typeCount[USBJOYS_CH_LAST + 1] = { }; _usbJoystickIfMode = g_model.usbJoystickIfMode;
uint8_t axisCount[USBJOYS_AXIS_LAST + 1] = { }; _usbJoystickCircularCut = g_model.usbJoystickCircularCut;
uint8_t simCount[USBJOYS_SIM_LAST + 1] = { };
uint8_t axisIx[USBJOYS_AXIS_LAST + 1] = { }; // prepeare for circularCutoutValue
uint8_t simIx[USBJOYS_SIM_LAST + 1] = { };
uint8_t mode = 0;
uint8_t submode = 0;
for (uint8_t i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) { for (uint8_t i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) {
mode = g_model.usbJoystickCh[i].mode; uint8_t mode = g_model.usbJoystickCh[i].mode;
if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_BUTTON) { if (mode == USBJOYS_CH_AXIS) {
buttonCount += g_model.usbJoystickCh[i].btnCount(); uint8_t submode = g_model.usbJoystickCh[i].param;
typeCount[mode]++;
}
else if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_AXIS) {
submode = g_model.usbJoystickCh[i].param;
if (submode <= USBJOYS_AXIS_LAST) {
if (!isUniqueAxisType(submode) || (axisCount[submode] == 0)) {
axisCount[submode]++;
typeCount[mode]++;
}
}
}
else if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_SIM) {
submode = g_model.usbJoystickCh[i].param;
if (submode <= USBJOYS_SIM_LAST) {
if (!isUniqueSimType(submode) || (simCount[submode] == 0)) {
simCount[submode]++;
typeCount[mode]++;
}
}
}
}
uint8_t ixcount = 0;
for (uint8_t i = 0; i <= USBJOYS_AXIS_LAST; i++) {
axisIx[i] = ixcount;
ixcount += axisCount[i];
}
ixcount = 0;
for (uint8_t i = 0; i <= USBJOYS_SIM_LAST; i++) {
simIx[i] = ixcount;
ixcount += simCount[i];
}
ixcount = 0;
for (uint8_t i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) {
mode = g_model.usbJoystickCh[i].mode;
if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_BUTTON) { // save axis pairs - not pretty but "if" is even more unreadeable
_usbJS->_usbJoystickButtonChannels[ixcount] = i; switch (submode) {
ixcount++; case USBJOYS_AXIS_X:
} switch (_usbJoystickCircularCut) {
else if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_AXIS) { case USBJOYS_CC_XYZrX:
submode = g_model.usbJoystickCh[i].param; case USBJOYS_CC_XYrXrY:
if (submode <= USBJOYS_AXIS_LAST) { case USBJOYS_CC_XYZrZ:
_usbJS->_usbJoystickAxisChannels[axisIx[submode]] = i;
if (!isUniqueAxisType(submode)) {
axisIx[submode]++;
}
// save axis pairs
if(submode == USBJOYS_AXIS_X) {
_usbJoystickAxisPairs[0][0] = i; _usbJoystickAxisPairs[0][0] = i;
break;
default:
break;
} }
else if(submode == USBJOYS_AXIS_Y) { break;
case USBJOYS_AXIS_Y:
switch (_usbJoystickCircularCut) {
case USBJOYS_CC_XYZrX:
case USBJOYS_CC_XYrXrY:
case USBJOYS_CC_XYZrZ:
_usbJoystickAxisPairs[0][1] = i; _usbJoystickAxisPairs[0][1] = i;
break;
default:
break;
} }
else if(submode == USBJOYS_AXIS_Z) { break;
case USBJOYS_AXIS_Z:
switch (_usbJoystickCircularCut) {
case USBJOYS_CC_XYZrX:
case USBJOYS_CC_XYZrZ:
_usbJoystickAxisPairs[1][0] = i; _usbJoystickAxisPairs[1][0] = i;
break;
default:
break;
} }
else if(submode == USBJOYS_AXIS_RX) { break;
case USBJOYS_AXIS_RX:
switch (_usbJoystickCircularCut) {
case USBJOYS_CC_XYZrX:
_usbJoystickAxisPairs[1][1] = i; _usbJoystickAxisPairs[1][1] = i;
_usbJoystickAxisPairs[2][0] = i; break;
case USBJOYS_CC_XYrXrY:
_usbJoystickAxisPairs[1][0] = i;
break;
default:
break;
} }
else if(submode == USBJOYS_AXIS_RY) { break;
_usbJoystickAxisPairs[2][1] = i; case USBJOYS_AXIS_RY:
switch (_usbJoystickCircularCut) {
case USBJOYS_CC_XYrXrY:
_usbJoystickAxisPairs[1][1] = i;
break;
default:
break;
} }
break;
case USBJOYS_AXIS_RZ:
switch (_usbJoystickCircularCut) {
case USBJOYS_CC_XYZrZ:
_usbJoystickAxisPairs[1][1] = i;
break;
default:
break;
} }
} break;
else if (g_model.usbJoystickCh[i].mode == USBJOYS_CH_SIM) { default:
submode = g_model.usbJoystickCh[i].param; break;
if (submode <= USBJOYS_SIM_LAST) {
_usbJS->_usbJoystickAxisChannels[simIx[submode]] = i;
if (!isUniqueSimType(submode)) {
simIx[submode]++;
}
} }
} }
} }
// store counts // start with classic descriptor
_usbJoystickButtonCount = typeCount[USBJOYS_CH_BUTTON]; memcpy(_hidReportDesc, HID_JOYSTICK_ReportDesc, 6);
genAxisCount = typeCount[USBJOYS_CH_AXIS]; _hidReportDescSize = 6;
simAxisCount = typeCount[USBJOYS_CH_SIM]; uint8_t pageCurrent = 0x01;
_usbJoystickAxisCount = typeCount[USBJOYS_CH_AXIS] + typeCount[USBJOYS_CH_SIM];
// generate report desc // HID support for game buttons is tricky :
// a) some applications simply count buttons and ignore button IDs
// b) in addition to a) some reverse the HID descriptor order
// c) yet others correctly use the button IDs
//
// USAGE_MINIMUM / USAGE_MAXIMUM might result in some ghost buttons
// without mixer input but everyone seems to process that consistently
// USAGE_PAGE (Generic Desktop) _usbJoystickButtonCount = 0;
memcpy(_hidReportDesc, HID_JOYSTICK_ReportDesc, 25); int8_t buttonMaxId = -1;
_hidReportDescSize = 25;
// USAGE (Joystick=0x04, Gamepad=0x05, Multi-axis Controller=0x08) // HID support for axis is tricky :
// a) some applications simply count axis
// b) in addition to a) some reverse the HID descriptor order
// c) some applications ignore axis with the same IDs
// d) some applications first process plain axis and then sim axis
// e) some combine a), b), c) and d) in various ways
// f) yet others correctly use the axis IDs
//
// advanced users know what they need
// -> don't try to order axis
// -> encode all axis (plain and sim) in one block
// -> Dpad / hat switch gets special handling any way
_usbJoystickAxisCount = 0;
_usbJoystickDpadChannel = -1;
for (uint8_t channelIx = 0; channelIx < USBJ_MAX_JOYSTICK_CHANNELS;
channelIx++) {
int8_t mode = g_model.usbJoystickCh[channelIx].mode;
uint8_t typeIx = g_model.usbJoystickCh[channelIx].param;
uint8_t pageTarget = 0;
uint8_t usage;
if (mode == USBJOYS_CH_BUTTON) {
uint8_t btn_num = g_model.usbJoystickCh[channelIx].btn_num;
uint8_t bits = g_model.usbJoystickCh[channelIx].switch_npos;
uint8_t id = btn_num + bits + 1;
if (id > buttonMaxId) {
buttonMaxId = id;
}
_usbJS->_usbJoystickButtonChannels[_usbJoystickButtonCount++] =
channelIx;
} else if (mode == USBJOYS_CH_AXIS && typeIx <= USBJOYS_AXIS_LAST) {
usage = axisTypeCodes[typeIx];
pageTarget = 0x01; // Generic Desktop Page (0x01)
} else if (mode == USBJOYS_CH_SIM && typeIx <= USBJOYS_SIM_LAST) {
usage = simTypeCodes[typeIx];
if (usage == 0x00) {
// it is the special dpad / hat switch
_usbJoystickDpadChannel = channelIx;
} else {
pageTarget = 0x02; // USAGE_PAGE Simulation Controls Page (0x02)
}
}
if (pageTarget) {
if (_usbJoystickAxisCount < 1) {
// USAGE (Pointer)
_hidReportDesc[_hidReportDescSize++] = 0x09;
_hidReportDesc[_hidReportDescSize++] = 0x01;
// COLLECTION (Physical)
_hidReportDesc[_hidReportDescSize++] = 0xa1;
_hidReportDesc[_hidReportDescSize++] = 0x00;
}
if (pageCurrent != pageTarget) {
// USAGE_PAGE
_hidReportDesc[_hidReportDescSize++] = 0x05;
_hidReportDesc[_hidReportDescSize++] = pageTarget;
pageCurrent = pageTarget;
}
// USAGE
_hidReportDesc[_hidReportDescSize++] = 0x09;
_hidReportDesc[_hidReportDescSize++] = usage;
_usbJS->_usbJoystickAxisChannels[_usbJoystickAxisCount++] = channelIx;
}
}
if (_usbJoystickAxisCount) {
// report count and input - DO end collection
memcpy(_hidReportDesc + _hidReportDescSize, HID_JOYSTICK_ReportDesc + 43,
11);
_hidReportDesc[_hidReportDescSize + 7] = _usbJoystickAxisCount;
_hidReportDescSize += 11;
_hidReportSize += _usbJoystickAxisCount * 2;
}
//
// encode buttons
//
uint8_t joystickType; uint8_t joystickType;
if (_usbJoystickIfMode == USBJOYS_GAMEPAD) {
switch (_usbJoystickIfMode) {
case USBJOYS_GAMEPAD:
// 0x00010005 Game Pad (Application Collection)
joystickType = 0x05; joystickType = 0x05;
// USB HID Usage Tables 1.21 page 33 : at least 4 buttons // USB HID Usage Tables 1.21 page 33 : at least 4 buttons
buttonCount = buttonCount >= 4 ? buttonCount : 4; buttonMaxId = buttonMaxId < 4 ? 4 : buttonMaxId;
} else if (_usbJoystickIfMode == USBJOYS_MULTIAXIS) { break;
case USBJOYS_MULTIAXIS:
// 0x00010008 Multi-axis Controller (Application Collection)
joystickType = 0x08; joystickType = 0x08;
} else { break;
default:
// Joystick (Application Collection)
joystickType = 0x04; joystickType = 0x04;
// USB HID Usage Tables 1.21 page 33 : at least 2 buttons // USB HID Usage Tables 1.21 page 33 : at least 2 buttons
buttonCount = buttonCount >= 2 ? buttonCount : 2; buttonMaxId = buttonMaxId < 2 ? 2 : buttonMaxId;
break;
} }
// set Apllication Collection's usage
_hidReportDesc[3] = joystickType; _hidReportDesc[3] = joystickType;
_hidReportDesc[15] = buttonCount;
_hidReportDesc[20] = buttonCount;
if (buttonCount == 0) _hidReportDescSize -= 15; if (buttonMaxId) {
memcpy(_hidReportDesc + _hidReportDescSize, HID_JOYSTICK_ReportDesc + 10,
15);
_hidReportDesc[_hidReportDescSize + 10] = buttonMaxId;
_hidReportDesc[_hidReportDescSize + 12] = buttonMaxId;
_hidReportDescSize += 15;
}
// padding for missing buttons // pad remaining space
if (buttonCount < USBJ_BUTTON_SIZE) { if (buttonMaxId < USBJ_BUTTON_SIZE) {
_hidReportDesc[_hidReportDescSize++] = 0x75; _hidReportDesc[_hidReportDescSize++] = 0x75;
_hidReportDesc[_hidReportDescSize++] = USBJ_BUTTON_SIZE - buttonCount; _hidReportDesc[_hidReportDescSize++] = USBJ_BUTTON_SIZE - buttonMaxId;
_hidReportDesc[_hidReportDescSize++] = 0x95; _hidReportDesc[_hidReportDescSize++] = 0x95;
_hidReportDesc[_hidReportDescSize++] = 0x01; _hidReportDesc[_hidReportDescSize++] = 0x01;
_hidReportDesc[_hidReportDescSize++] = 0x81; _hidReportDesc[_hidReportDescSize++] = 0x81;
_hidReportDesc[_hidReportDescSize++] = 0x03; _hidReportDesc[_hidReportDescSize++] = 0x03;
} }
_hidReportSize += ((USBJ_BUTTON_SIZE + 7) / 8);
// generic axis types
if (genAxisCount > 0) {
// USAGE_PAGE (Generic Desktop)
_hidReportDesc[_hidReportDescSize++] = 0x05;
_hidReportDesc[_hidReportDescSize++] = 0x01;
for (uint8_t i = 0; i <= USBJOYS_AXIS_LAST; i++) {
for (uint8_t cnt = 0; cnt < axisCount[i]; cnt++) {
// USAGE (#)
_hidReportDesc[_hidReportDescSize++] = 0x09;
_hidReportDesc[_hidReportDescSize++] = axisTypeCodes[i];
}
}
memcpy(_hidReportDesc+_hidReportDescSize, HID_JOYSTICK_ReportDesc+43, 10);
_hidReportDesc[_hidReportDescSize+7] = genAxisCount;
_hidReportDescSize += 10;
}
// sim axis types
if (simAxisCount > 0) {
// USAGE_PAGE (Simulation Controls)
_hidReportDesc[_hidReportDescSize++] = 0x05;
_hidReportDesc[_hidReportDescSize++] = 0x02;
for (uint8_t i = 0; i <= USBJOYS_SIM_LAST; i++) {
for (uint8_t cnt = 0; cnt < simCount[i]; cnt++) {
// USAGE (#)
_hidReportDesc[_hidReportDescSize++] = 0x09;
_hidReportDesc[_hidReportDescSize++] = simTypeCodes[i];
}
}
memcpy(_hidReportDesc+_hidReportDescSize, HID_JOYSTICK_ReportDesc+43, 10);
_hidReportDesc[_hidReportDescSize+7] = simAxisCount;
_hidReportDescSize += 10;
}
// END_COLLECTION
_hidReportDesc[_hidReportDescSize++] = 0xc0;
// battery status // battery status
memcpy(_hidReportDesc+_hidReportDescSize, HID_JOYSTICK_ReportDesc+54, 13); memcpy(_hidReportDesc + _hidReportDescSize, HID_JOYSTICK_ReportDesc + 54,
13);
_hidReportDescSize += 13; _hidReportDescSize += 13;
_hidReportSize += 1;
// special dpad / hat switch
if (0 <= _usbJoystickDpadChannel) {
memcpy(_hidReportDesc + _hidReportDescSize, HID_JOYSTICK_DpadDesc,
sizeof(HID_JOYSTICK_DpadDesc));
_hidReportDescSize += sizeof(HID_JOYSTICK_DpadDesc);
_hidReportSize += 1;
}
// END_COLLECTION // END_COLLECTION
_hidReportDesc[_hidReportDescSize++] = 0xc0; _hidReportDesc[_hidReportDescSize++] = 0xc0;
// end of report desc // end of report desc
_hidReportSize = ((USBJ_BUTTON_SIZE+7) / 8) + (_usbJoystickAxisCount * 2) + 1;
} }
//compare with the old description // compare with the old description
if (_hidReportDescSize != oldHIDReportDescSize) return true; if (_hidReportDescSize != oldHIDReportDescSize) return true;
uint32_t newChecksum = hash(_hidReportDesc, _hidReportDescSize); uint32_t newChecksum = hash(_hidReportDesc, _hidReportDescSize);
return oldChecksum != newChecksum; return oldChecksum != newChecksum;
@@ -403,64 +483,115 @@ int setupUSBJoystick()
extern "C" struct usbReport_t usbReportDesc() extern "C" struct usbReport_t usbReportDesc()
{ {
usbReport_t res = { _hidReportDesc, _hidReportDescSize }; usbReport_t res = {_hidReportDesc, _hidReportDescSize};
return res; return res;
} }
static void setBatteryBits(int hid_pos){ static void setBatteryBits(int hid_pos)
{
// vBatMin / vBatMax are encoded with offsets 90 / 120 // vBatMin / vBatMax are encoded with offsets 90 / 120
uint8_t percent = limit<uint8_t>(0, divRoundClosest((g_vbat100mV - g_eeGeneral.vBatMin - 90) * 100, g_eeGeneral.vBatMax - g_eeGeneral.vBatMin + 30), 100); uint8_t percent = limit<uint8_t>(
0,
divRoundClosest((g_vbat100mV - g_eeGeneral.vBatMin - 90) * 100,
g_eeGeneral.vBatMax - g_eeGeneral.vBatMin + 30),
100);
_hidReport[hid_pos] = percent; _hidReport[hid_pos] = percent;
} }
static void setDpadBits(int hid_pos, int channelIx)
{
// Android's POV encoding:
// 0 = North
// 1 = North-East
// 2 = East
// 3 = South-East
// 4 = South
// 5 = South-West
// 6 = West
// 7 = North-West
// 8-15 = no direction
int16_t value = channelOutputs[channelIx] + 1024;
// a span of 120 results in overflow at the top range
// a span of 121 results in a too small top range
// -> use 120 and slightly enlarge top and button ranges
if (value > 2039) {
value = 7;
} else {
value = ((value - 3) / 120) % 9;
}
// add explicit D-Pad keys for
// applications using HID raw processing
const uint8_t NORTH = 0x10;
const uint8_t SOUTH = 0x20;
const uint8_t EAST = 0x40;
const uint8_t WEST = 0x80;
// clang-format off
const uint8_t key_lookup[] = {
0 | NORTH,
1 | NORTH | EAST,
2 | EAST,
3 | SOUTH | EAST,
4 | SOUTH,
5 | SOUTH | WEST,
6 | WEST,
7 | NORTH | WEST,
8
};
// clang-format on
_hidReport[hid_pos] = key_lookup[value & 0x0F];
}
void usbClassicStateUpdate() void usbClassicStateUpdate()
{ {
if (_hidReport == nullptr) return; if (_hidReport == nullptr) return;
memset(_hidReport, 0, MAX_HID_REPORT); memset(_hidReport, 0, MAX_HID_REPORT);
//buttons // buttons
_hidReport[0] = 0; _hidReport[0] = 0;
_hidReport[1] = 0; _hidReport[1] = 0;
_hidReport[2] = 0; _hidReport[2] = 0;
for (int i = 0; i < 8; ++i) { for (int i = 0; i < 8; ++i) {
if ( channelOutputs[i+8] > 0 ) { if (channelOutputs[i + 8] > 0) {
_hidReport[0] |= (1 << i); _hidReport[0] |= (1 << i);
} }
if ( channelOutputs[i+16] > 0 ) { if (channelOutputs[i + 16] > 0) {
_hidReport[1] |= (1 << i); _hidReport[1] |= (1 << i);
} }
if ( channelOutputs[i+24] > 0 ) { if (channelOutputs[i + 24] > 0) {
_hidReport[2] |= (1 << i); _hidReport[2] |= (1 << i);
} }
} }
//analog values // analog values
//uint8_t * p = HID_Buffer + 1; // uint8_t * p = HID_Buffer + 1;
for (int i = 0; i < 8; ++i) { for (int i = 0; i < 8; ++i) {
int16_t value = limit<int16_t>(0, channelOutputs[i] + 1024, 2048); int16_t value = limit<int16_t>(0, channelOutputs[i] + 1024, 2048);
_hidReport[i*2 +3] = static_cast<uint8_t>(value & 0xFF); _hidReport[i * 2 + 3] = static_cast<uint8_t>(value & 0xFF);
_hidReport[i*2 +4] = static_cast<uint8_t>(value >> 8); _hidReport[i * 2 + 4] = static_cast<uint8_t>(value >> 8);
} }
//battery values // battery values
setBatteryBits(8*2 +3); setBatteryBits(8 * 2 + 3);
} }
static void setBtnBits(uint8_t ix, uint8_t value, uint8_t size) static void setBtnBits(uint8_t ix, uint8_t value, uint8_t size)
{ {
for(uint8_t i = 0; i < size; i++) { for (uint8_t i = 0; i < size; i++) {
uint8_t bitix = ix + i; uint8_t bitix = ix + i;
if(bitix >= USBJ_BUTTON_SIZE) break; if (bitix >= USBJ_BUTTON_SIZE) break;
if(value & (1 << i)) { if (value & (1 << i)) {
_buttonState[(bitix / 8)] |= 1 << (bitix % 8); _buttonState[(bitix / 8)] |= 1 << (bitix % 8);
} } else {
else {
_buttonState[(bitix / 8)] &= ~(1 << (bitix % 8)); _buttonState[(bitix / 8)] &= ~(1 << (bitix % 8));
} }
} }
@@ -468,7 +599,7 @@ static void setBtnBits(uint8_t ix, uint8_t value, uint8_t size)
static void toggleBtnBit(uint8_t bitix) static void toggleBtnBit(uint8_t bitix)
{ {
if(bitix >= USBJ_BUTTON_SIZE) return; if (bitix >= USBJ_BUTTON_SIZE) return;
_buttonState[(bitix / 8)] ^= 1 << (bitix % 8); _buttonState[(bitix / 8)] ^= 1 << (bitix % 8);
} }
@@ -481,23 +612,19 @@ static int16_t circularCutoutValue(uint8_t chix)
uint8_t chpair = 0xff; uint8_t chpair = 0xff;
const int32_t limit = 1048576; /* 1024^2 */ const int32_t limit = 1048576; /* 1024^2 */
if(_usbJoystickCircularCut == USBJ_CC_XYZrX) { if (chix == _usbJoystickAxisPairs[0][0])
if(chix == _usbJoystickAxisPairs[0][0]) chpair = _usbJoystickAxisPairs[0][1]; chpair = _usbJoystickAxisPairs[0][1];
else if(chix == _usbJoystickAxisPairs[0][1]) chpair = _usbJoystickAxisPairs[0][0]; else if (chix == _usbJoystickAxisPairs[0][1])
else if(chix == _usbJoystickAxisPairs[1][0]) chpair = _usbJoystickAxisPairs[1][1]; chpair = _usbJoystickAxisPairs[0][0];
else if(chix == _usbJoystickAxisPairs[1][1]) chpair = _usbJoystickAxisPairs[1][0]; else if (chix == _usbJoystickAxisPairs[1][0])
} chpair = _usbJoystickAxisPairs[1][1];
else if(_usbJoystickCircularCut == USBJ_CC_XYrXrZ) { else if (chix == _usbJoystickAxisPairs[1][1])
if(chix == _usbJoystickAxisPairs[0][0]) chpair = _usbJoystickAxisPairs[0][1]; chpair = _usbJoystickAxisPairs[1][0];
else if(chix == _usbJoystickAxisPairs[0][1]) chpair = _usbJoystickAxisPairs[0][0];
else if(chix == _usbJoystickAxisPairs[2][0]) chpair = _usbJoystickAxisPairs[2][1];
else if(chix == _usbJoystickAxisPairs[2][1]) chpair = _usbJoystickAxisPairs[2][0];
}
if(chpair != 0xff) { if (chpair != 0xff) {
int32_t pval = channelOutputs[chpair]; int32_t pval = channelOutputs[chpair];
int32_t sum = ((value*value) + (pval*pval)); int32_t sum = ((value * value) + (pval * pval));
if(sum > limit) { if (sum > limit) {
double ratio = sqrt((double)limit / (double)sum); double ratio = sqrt((double)limit / (double)sum);
value *= ratio; value *= ratio;
} }
@@ -510,8 +637,9 @@ void usbStateUpdate()
{ {
if (_hidReport == nullptr) return; if (_hidReport == nullptr) return;
const uint8_t button_ix = 0; const uint8_t button_ix = _usbJoystickAxisCount * 2;
const uint8_t axis_ix = button_ix + ((USBJ_BUTTON_SIZE+7) >> 3); const uint8_t axis_ix = 0;
const uint8_t battery_ix = button_ix + ((USBJ_BUTTON_SIZE + 7) >> 3);
memset(_hidReport, 0, MAX_HID_REPORT); memset(_hidReport, 0, MAX_HID_REPORT);
@@ -526,31 +654,30 @@ void usbStateUpdate()
chix = _usbJS->_usbJoystickButtonChannels[i]; chix = _usbJS->_usbJoystickButtonChannels[i];
value = channelOutputs[chix] + 1024; value = channelOutputs[chix] + 1024;
if ( value > 2047 ) value = 2047; if (value > 2047)
else if ( value < 0 ) value = 0; value = 2047;
else if (value < 0)
value = 0;
if (g_model.usbJoystickCh[chix].inversion) value = 2047 - value; if (g_model.usbJoystickCh[chix].inversion) value = 2047 - value;
swpos = g_model.usbJoystickCh[chix].switch_npos + 1; swpos = g_model.usbJoystickCh[chix].switch_npos + 1;
// Quantization of the values // Quantization of the values
if ((g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_NORMAL) if ((g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_NORMAL) ||
|| (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE)) { (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE)) {
if (swpos == 1) { if (swpos == 1) {
btnval = (value > 1024); btnval = (value > 1024);
} else { } else {
btnval = static_cast<uint16_t>(value) / (2048 / swpos); btnval = static_cast<uint16_t>(value) / (2048 / swpos);
if (btnval >= swpos) btnval = swpos - 1; if (btnval >= swpos) btnval = swpos - 1;
} }
} } else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_SW_EMU) {
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_SW_EMU) {
btnval = (value > 1024); btnval = (value > 1024);
} } else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
btnval = (value >> 6); btnval = (value >> 6);
} } else if (g_model.usbJoystickCh[chix].param ==
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_COMPANION) { USBJOYS_BTN_MODE_COMPANION) {
if (swpos == 1 || swpos == 2) { if (swpos == 1 || swpos == 2) {
btnval = (value > 1024); btnval = (value > 1024);
} else if (swpos == 3) { } else if (swpos == 3) {
@@ -562,11 +689,10 @@ void usbStateUpdate()
} }
// Channel Output value changed // Channel Output value changed
if ((_usbJS->_usbLastChannelOutput[chix] == 0xffff) || (_usbJS->_usbLastChannelOutput[chix] != btnval)) { if ((_usbJS->_usbLastChannelOutput[chix] == 0xffff) ||
(_usbJS->_usbLastChannelOutput[chix] != btnval)) {
if ((g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_NORMAL) if ((g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_NORMAL) ||
|| (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE)) { (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE)) {
if (swpos == 1) { if (swpos == 1) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, btnval, 1); setBtnBits(g_model.usbJoystickCh[chix].btn_num, btnval, 1);
} else { } else {
@@ -574,29 +700,27 @@ void usbStateUpdate()
} }
// Timer // Timer
if(g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE) { if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE) {
_usbJS->_usbChannelTimerActive[chix] = 1; _usbJS->_usbChannelTimerActive[chix] = 1;
_usbJS->_usbChannelTimer[chix] = g_usbTmr10ms; _usbJS->_usbChannelTimer[chix] = g_usbTmr10ms;
} }
} } else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_SW_EMU) {
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_SW_EMU) { if ((_usbJS->_usbLastChannelOutput[chix] != 0xffff) &&
if ((_usbJS->_usbLastChannelOutput[chix] != 0xffff) && (_usbJS->_usbLastChannelOutput[chix] < btnval)) { (_usbJS->_usbLastChannelOutput[chix] < btnval)) {
toggleBtnBit(g_model.usbJoystickCh[chix].btn_num); toggleBtnBit(g_model.usbJoystickCh[chix].btn_num);
} }
} } else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
if (_usbJS->_usbLastChannelOutput[chix] != 0xffff) { if (_usbJS->_usbLastChannelOutput[chix] != 0xffff) {
if (_usbJS->_usbLastChannelOutput[chix] < btnval) { if (_usbJS->_usbLastChannelOutput[chix] < btnval) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, 2, 2); setBtnBits(g_model.usbJoystickCh[chix].btn_num, 2, 2);
} } else if (_usbJS->_usbLastChannelOutput[chix] > btnval) {
else if (_usbJS->_usbLastChannelOutput[chix] > btnval) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, 1, 2); setBtnBits(g_model.usbJoystickCh[chix].btn_num, 1, 2);
} }
_usbJS->_usbChannelTimerActive[chix] = 1; _usbJS->_usbChannelTimerActive[chix] = 1;
_usbJS->_usbChannelTimer[chix] = g_usbTmr10ms; _usbJS->_usbChannelTimer[chix] = g_usbTmr10ms;
} }
} } else if (g_model.usbJoystickCh[chix].param ==
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_COMPANION) { USBJOYS_BTN_MODE_COMPANION) {
if (swpos == 1 || swpos == 2) { if (swpos == 1 || swpos == 2) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, btnval, 1); setBtnBits(g_model.usbJoystickCh[chix].btn_num, btnval, 1);
} else if (swpos == 3) { } else if (swpos == 3) {
@@ -610,19 +734,20 @@ void usbStateUpdate()
} }
// Timer check // Timer check
if((_usbJS->_usbChannelTimerActive[chix]) && (((uint8_t)(g_usbTmr10ms - _usbJS->_usbChannelTimer[chix]) >= BTNPUSH_TIME))) { if ((_usbJS->_usbChannelTimerActive[chix]) &&
(((uint8_t)(g_usbTmr10ms - _usbJS->_usbChannelTimer[chix]) >=
BTNPUSH_TIME))) {
_usbJS->_usbChannelTimerActive[chix] = 0; _usbJS->_usbChannelTimerActive[chix] = 0;
if(g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE) { if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_ON_PULSE) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, 0, swpos); setBtnBits(g_model.usbJoystickCh[chix].btn_num, 0, swpos);
} } else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
else if (g_model.usbJoystickCh[chix].param == USBJOYS_BTN_MODE_DELTA) {
setBtnBits(g_model.usbJoystickCh[chix].btn_num, 0, 2); setBtnBits(g_model.usbJoystickCh[chix].btn_num, 0, 2);
} }
} }
} }
memcpy(_hidReport + button_ix, _buttonState, ((USBJ_BUTTON_SIZE+7) >> 3)); memcpy(_hidReport + button_ix, _buttonState, ((USBJ_BUTTON_SIZE + 7) >> 3));
for (uint8_t i = 0; i < _usbJoystickAxisCount; i++) { for (uint8_t i = 0; i < _usbJoystickAxisCount; i++) {
chix = _usbJS->_usbJoystickAxisChannels[i]; chix = _usbJS->_usbJoystickAxisChannels[i];
@@ -631,18 +756,20 @@ void usbStateUpdate()
if (g_model.usbJoystickCh[chix].inversion) value = 2048 - value; if (g_model.usbJoystickCh[chix].inversion) value = 2048 - value;
_hidReport[i*2 + axis_ix] = static_cast<uint8_t>(value & 0xFF); _hidReport[i * 2 + axis_ix] = static_cast<uint8_t>(value & 0xFF);
_hidReport[i*2 + axis_ix+1] = static_cast<uint8_t>(value >> 8); _hidReport[i * 2 + axis_ix + 1] = static_cast<uint8_t>(value >> 8);
} }
//battery values // battery values
setBatteryBits(_usbJoystickAxisCount*2 + axis_ix); setBatteryBits(battery_ix);
// dpad switch
if (0 <= _usbJoystickDpadChannel) {
setDpadBits(battery_ix + 1, _usbJoystickDpadChannel);
}
} }
uint8_t usbReportSize() uint8_t usbReportSize() { return _hidReportSize; }
{
return _hidReportSize;
}
struct usbReport_t usbReport() struct usbReport_t usbReport()
{ {
@@ -653,7 +780,7 @@ struct usbReport_t usbReport()
usbStateUpdate(); usbStateUpdate();
} }
usbReport_t res = { _hidReport, _hidReportSize }; usbReport_t res = {_hidReport, _hidReportSize};
return res; return res;
} }
@@ -670,7 +797,7 @@ void onUSBJoystickModelChanged()
int isUSBAxisCollision(uint8_t chIdx) int isUSBAxisCollision(uint8_t chIdx)
{ {
USBJoystickChData * cch = usbJChAddress(chIdx); USBJoystickChData* cch = usbJChAddress(chIdx);
// non axis // non axis
if (cch->mode != USBJOYS_CH_AXIS) return false; if (cch->mode != USBJOYS_CH_AXIS) return false;
@@ -684,7 +811,7 @@ int isUSBAxisCollision(uint8_t chIdx)
for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) { for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) {
if (i == chIdx) continue; if (i == chIdx) continue;
USBJoystickChData * och = usbJChAddress(i); USBJoystickChData* och = usbJChAddress(i);
if (cch->mode != och->mode) continue; if (cch->mode != och->mode) continue;
if (cch->param == och->param) { if (cch->param == och->param) {
@@ -697,7 +824,7 @@ int isUSBAxisCollision(uint8_t chIdx)
int isUSBSimCollision(uint8_t chIdx) int isUSBSimCollision(uint8_t chIdx)
{ {
USBJoystickChData * cch = usbJChAddress(chIdx); USBJoystickChData* cch = usbJChAddress(chIdx);
// non axis // non axis
if (cch->mode != USBJOYS_CH_SIM) return false; if (cch->mode != USBJOYS_CH_SIM) return false;
@@ -711,7 +838,7 @@ int isUSBSimCollision(uint8_t chIdx)
for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) { for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) {
if (i == chIdx) continue; if (i == chIdx) continue;
USBJoystickChData * och = usbJChAddress(i); USBJoystickChData* och = usbJChAddress(i);
if (cch->mode != och->mode) continue; if (cch->mode != och->mode) continue;
if (cch->param == och->param) { if (cch->param == och->param) {
@@ -724,7 +851,7 @@ int isUSBSimCollision(uint8_t chIdx)
int isUSBBtnNumCollision(uint8_t chIdx) int isUSBBtnNumCollision(uint8_t chIdx)
{ {
USBJoystickChData * cch = usbJChAddress(chIdx); USBJoystickChData* cch = usbJChAddress(chIdx);
// non button // non button
if (cch->mode != USBJOYS_CH_BUTTON) return false; if (cch->mode != USBJOYS_CH_BUTTON) return false;
@@ -735,7 +862,7 @@ int isUSBBtnNumCollision(uint8_t chIdx)
for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) { for (int i = 0; i < USBJ_MAX_JOYSTICK_CHANNELS; i++) {
if (i == chIdx) continue; if (i == chIdx) continue;
USBJoystickChData * och = usbJChAddress(i); USBJoystickChData* och = usbJChAddress(i);
if (och->mode != USBJOYS_CH_BUTTON) continue; if (och->mode != USBJOYS_CH_BUTTON) continue;
+26 -21
View File
@@ -19,22 +19,20 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#ifndef _USB_JOYSTICK_H_ #pragma once
#define _USB_JOYSTICK_H_
#include "storage/yaml/yaml_defs.h"
#include <stdint.h> #include <stdint.h>
enum USBJoystickIfMode #include "storage/yaml/yaml_defs.h"
{
enum USBJoystickIfMode {
USBJOYS_JOYSTICK, USBJOYS_JOYSTICK,
USBJOYS_GAMEPAD, USBJOYS_GAMEPAD,
USBJOYS_MULTIAXIS, USBJOYS_MULTIAXIS,
USBJOYS_LAST SKIP = USBJOYS_MULTIAXIS USBJOYS_LAST SKIP = USBJOYS_MULTIAXIS
}; };
enum USBJoystickCh enum USBJoystickCh {
{
USBJOYS_CH_NONE, USBJOYS_CH_NONE,
USBJOYS_CH_BUTTON, USBJOYS_CH_BUTTON,
USBJOYS_CH_AXIS, USBJOYS_CH_AXIS,
@@ -42,8 +40,7 @@ enum USBJoystickCh
USBJOYS_CH_LAST SKIP = USBJOYS_CH_SIM USBJOYS_CH_LAST SKIP = USBJOYS_CH_SIM
}; };
enum USBJoystickBtnMode enum USBJoystickBtnMode {
{
USBJOYS_BTN_MODE_NORMAL, USBJOYS_BTN_MODE_NORMAL,
USBJOYS_BTN_MODE_ON_PULSE, USBJOYS_BTN_MODE_ON_PULSE,
USBJOYS_BTN_MODE_SW_EMU, USBJOYS_BTN_MODE_SW_EMU,
@@ -52,8 +49,7 @@ enum USBJoystickBtnMode
USBJOYS_BTN_MODE_LAST SKIP = USBJOYS_BTN_MODE_COMPANION USBJOYS_BTN_MODE_LAST SKIP = USBJOYS_BTN_MODE_COMPANION
}; };
enum USBJoystickAxis enum USBJoystickAxis {
{
USBJOYS_AXIS_X, USBJOYS_AXIS_X,
USBJOYS_AXIS_Y, USBJOYS_AXIS_Y,
USBJOYS_AXIS_Z, USBJOYS_AXIS_Z,
@@ -66,13 +62,24 @@ enum USBJoystickAxis
USBJOYS_AXIS_LAST SKIP = USBJOYS_AXIS_WHEEL USBJOYS_AXIS_LAST SKIP = USBJOYS_AXIS_WHEEL
}; };
enum USBJoystickSim enum USBJoystickSim {
{
USBJOYS_SIM_AILERON, USBJOYS_SIM_AILERON,
USBJOYS_SIM_ELEVATOR, USBJOYS_SIM_ELEVATOR,
USBJOYS_SIM_RUDDER, USBJOYS_SIM_RUDDER,
USBJOYS_SIM_THROTTLE, USBJOYS_SIM_THROTTLE,
USBJOYS_SIM_LAST SKIP = USBJOYS_SIM_THROTTLE USBJOYS_SIM_ACCELERATOR,
USBJOYS_SIM_BREAK,
USBJOYS_SIM_STEERING,
USBJOYS_SIM_HAT,
USBJOYS_SIM_LAST SKIP = USBJOYS_SIM_HAT
};
enum USBJoystickCC {
USBJOYS_CC_NONE,
USBJOYS_CC_XYZrX,
USBJOYS_CC_XYrXrY,
USBJOYS_CC_XYZrZ,
USBJOYS_CC_LAST SKIP = USBJOYS_CC_XYZrZ
}; };
#define USBJ_BUTTON_SIZE 32 #define USBJ_BUTTON_SIZE 32
@@ -81,10 +88,10 @@ enum USBJoystickSim
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
struct usbReport_t { struct usbReport_t {
uint8_t * ptr; uint8_t* ptr;
uint8_t size; uint8_t size;
}; };
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
@@ -102,8 +109,8 @@ void onUSBJoystickModelChanged();
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
struct usbReport_t usbReportDesc(); struct usbReport_t usbReportDesc();
uint8_t usbReportSize(); uint8_t usbReportSize();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
@@ -113,5 +120,3 @@ struct usbReport_t usbReport();
int isUSBAxisCollision(uint8_t chIdx); int isUSBAxisCollision(uint8_t chIdx);
int isUSBSimCollision(uint8_t chIdx); int isUSBSimCollision(uint8_t chIdx);
int isUSBBtnNumCollision(uint8_t chIdx); int isUSBBtnNumCollision(uint8_t chIdx);
#endif // _USB_JOYSTICK_H_