fixed line ending

This commit is contained in:
Andre Leiradella 2016-07-24 20:45:23 +01:00
parent 31b5e9eb4d
commit ea6b65a7d6
2 changed files with 366 additions and 366 deletions

View File

@ -17,7 +17,7 @@
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
@ -34,15 +34,15 @@
#define NETRETROPAD_CORE_PREFIX(s) libretro_netretropad_##s
#else
#define NETRETROPAD_CORE_PREFIX(s) s
#endif
#include "remotepad.h"
#endif
#include "remotepad.h"
static int s;
static int port;
static char server[64];
static struct sockaddr_in si_other;
static struct retro_log_callback logger;
static retro_log_printf_t NETRETROPAD_CORE_PREFIX(log_cb);
@ -57,29 +57,29 @@ static uint16_t *frame_buf;
void NETRETROPAD_CORE_PREFIX(retro_init)(void)
{
frame_buf = (uint16_t*)calloc(320 * 240, sizeof(uint16_t));
if (frame_buf)
{
uint16_t *pixel = frame_buf + 49 * 320 + 32;
for (unsigned rle = 0; rle < sizeof(body); )
{
uint16_t color = 0;
for (unsigned runs = body[rle++]; runs > 0; runs--)
{
for (unsigned count = body[rle++]; count > 0; count--)
{
*pixel++ = color;
}
color = 0x4208 - color;
}
pixel += 65;
}
}
frame_buf = (uint16_t*)calloc(320 * 240, sizeof(uint16_t));
if (frame_buf)
{
uint16_t *pixel = frame_buf + 49 * 320 + 32;
for (unsigned rle = 0; rle < sizeof(body); )
{
uint16_t color = 0;
for (unsigned runs = body[rle++]; runs > 0; runs--)
{
for (unsigned count = body[rle++]; count > 0; count--)
{
*pixel++ = color;
}
color = 0x4208 - color;
}
pixel += 65;
}
}
NETRETROPAD_CORE_PREFIX(log_cb)(RETRO_LOG_INFO, "Initialising sockets...\n");
network_init();
@ -131,9 +131,9 @@ void NETRETROPAD_CORE_PREFIX(retro_get_system_av_info)(
static unsigned retropad_update_input(void)
{
unsigned value = 0;
NETRETROPAD_CORE_PREFIX(input_poll_cb)();
if (NETRETROPAD_CORE_PREFIX(input_state_cb)(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B))
NETRETROPAD_CORE_PREFIX(input_poll_cb)();
if (NETRETROPAD_CORE_PREFIX(input_state_cb)(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B))
value += 1;
if (NETRETROPAD_CORE_PREFIX(input_state_cb)(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y))
value += 2;
@ -247,40 +247,40 @@ void NETRETROPAD_CORE_PREFIX(retro_run)(void)
/* send the message */
if (sendto(s, message, strlen(message) , 0 , (struct sockaddr *) &si_other, sizeof(si_other))==-1)
NETRETROPAD_CORE_PREFIX(log_cb)(RETRO_LOG_INFO, "Error sending data\n");
}
uint16_t *pixel = frame_buf + 49 * 320 + 32;
for (unsigned rle = 0; rle < sizeof(buttons); )
{
char paint = 0;
for (unsigned runs = buttons[rle++]; runs > 0; runs--)
{
unsigned button = paint ? 1 << buttons[rle++] : 0;
if (paint)
{
uint16_t color = (input_state & button) ? 0x0500 : 0xffff;
for (unsigned count = buttons[rle++]; count > 0; count--)
{
*pixel++ = color;
}
}
else
{
pixel += buttons[rle++];
}
paint = !paint;
}
pixel += 65;
}
NETRETROPAD_CORE_PREFIX(video_cb)(frame_buf, 320, 240, 640);
}
uint16_t *pixel = frame_buf + 49 * 320 + 32;
for (unsigned rle = 0; rle < sizeof(buttons); )
{
char paint = 0;
for (unsigned runs = buttons[rle++]; runs > 0; runs--)
{
unsigned button = paint ? 1 << buttons[rle++] : 0;
if (paint)
{
uint16_t color = (input_state & button) ? 0x0500 : 0xffff;
for (unsigned count = buttons[rle++]; count > 0; count--)
{
*pixel++ = color;
}
}
else
{
pixel += buttons[rle++];
}
paint = !paint;
}
pixel += 65;
}
NETRETROPAD_CORE_PREFIX(video_cb)(frame_buf, 320, 240, 640);
retro_sleep(4);
}
@ -307,7 +307,7 @@ bool NETRETROPAD_CORE_PREFIX(retro_load_game)(const struct retro_game_info *info
in_target.server = server;
in_target.domain = SOCKET_DOMAIN_INET;
socket_set_target(&si_other, &in_target);
socket_set_target(&si_other, &in_target);
NETRETROPAD_CORE_PREFIX(log_cb)(RETRO_LOG_INFO, "Server IP Address: %s\n" , server);

View File

@ -1,300 +1,300 @@
#ifndef REMOTEPAD_H
#define REMOTEPAD_H
static uint8_t body[] =
{
/* 0 */ 3, 38, 13, 204,
/* 1 */ 3, 35, 21, 199,
/* 2 */ 3, 33, 26, 196,
/* 3 */ 3, 32, 28, 195,
/* 4 */ 3, 32, 29, 194,
/* 5 */ 5, 31, 31, 133, 28, 32,
/* 6 */ 5, 31, 31, 133, 31, 29,
/* 7 */ 5, 31, 31, 133, 31, 29,
/* 8 */ 5, 31, 31, 132, 32, 29,
/* 9 */ 5, 31, 31, 132, 32, 29,
/* 10 */ 5, 30, 32, 132, 32, 29,
/* 11 */ 5, 28, 35, 129, 35, 28,
/* 12 */ 5, 27, 37, 127, 37, 27,
/* 13 */ 5, 26, 39, 125, 39, 26,
/* 14 */ 5, 25, 41, 123, 41, 25,
/* 15 */ 5, 25, 41, 123, 42, 24,
/* 16 */ 5, 24, 43, 121, 43, 24,
/* 17 */ 5, 24, 43, 121, 44, 23,
/* 18 */ 5, 23, 45, 120, 44, 23,
/* 19 */ 5, 23, 45, 119, 45, 23,
/* 20 */ 5, 23, 45, 119, 46, 22,
/* 21 */ 5, 23, 46, 118, 46, 22,
/* 22 */ 5, 22, 47, 118, 46, 22,
/* 23 */ 5, 22, 47, 117, 47, 22,
/* 24 */ 5, 22, 47, 117, 48, 21,
/* 25 */ 5, 22, 48, 115, 49, 21,
/* 26 */ 5, 22, 49, 112, 51, 21,
/* 27 */ 5, 22, 51, 110, 51, 21,
/* 28 */ 5, 21, 53, 107, 53, 21,
/* 29 */ 3, 20, 215, 20,
/* 30 */ 3, 19, 217, 19,
/* 31 */ 3, 18, 219, 18,
/* 32 */ 3, 17, 221, 17,
/* 33 */ 3, 16, 223, 16,
/* 34 */ 3, 16, 223, 16,
/* 35 */ 3, 15, 225, 15,
/* 36 */ 3, 14, 227, 14,
/* 37 */ 3, 14, 227, 14,
/* 38 */ 3, 13, 229, 13,
/* 39 */ 3, 13, 229, 13,
/* 40 */ 3, 12, 231, 12,
/* 41 */ 3, 12, 231, 12,
/* 42 */ 3, 11, 233, 11,
/* 43 */ 3, 11, 233, 11,
/* 44 */ 3, 10, 235, 10,
/* 45 */ 3, 10, 235, 10,
/* 46 */ 3, 9, 237, 9,
/* 47 */ 3, 9, 237, 9,
/* 48 */ 3, 9, 237, 9,
/* 49 */ 3, 8, 239, 8,
/* 50 */ 3, 7, 241, 7,
/* 51 */ 3, 7, 241, 7,
/* 52 */ 3, 7, 241, 7,
/* 53 */ 3, 7, 241, 7,
/* 54 */ 3, 6, 243, 6,
/* 55 */ 3, 6, 243, 6,
/* 56 */ 3, 6, 243, 6,
/* 57 */ 3, 5, 245, 5,
/* 58 */ 3, 5, 245, 5,
/* 59 */ 3, 5, 245, 5,
/* 60 */ 3, 5, 245, 5,
/* 61 */ 3, 4, 247, 4,
/* 62 */ 3, 4, 247, 4,
/* 63 */ 3, 4, 247, 4,
/* 64 */ 3, 4, 247, 4,
/* 65 */ 3, 4, 247, 4,
/* 66 */ 3, 4, 247, 4,
/* 67 */ 3, 3, 248, 4,
/* 68 */ 3, 3, 249, 3,
/* 69 */ 3, 3, 249, 3,
/* 70 */ 3, 3, 249, 3,
/* 71 */ 3, 3, 249, 3,
/* 72 */ 3, 3, 249, 3,
/* 73 */ 3, 3, 249, 3,
/* 74 */ 3, 3, 249, 3,
/* 75 */ 3, 3, 249, 3,
/* 76 */ 3, 3, 249, 3,
/* 77 */ 3, 2, 251, 2,
/* 78 */ 3, 2, 251, 2,
/* 79 */ 3, 2, 251, 2,
/* 80 */ 3, 2, 251, 2,
/* 81 */ 3, 2, 251, 2,
/* 82 */ 3, 2, 251, 2,
/* 83 */ 3, 2, 251, 2,
/* 84 */ 3, 2, 251, 2,
/* 85 */ 3, 2, 251, 2,
/* 86 */ 3, 1, 253, 1,
/* 87 */ 3, 1, 253, 1,
/* 88 */ 3, 1, 253, 1,
/* 89 */ 3, 1, 253, 1,
/* 90 */ 3, 1, 253, 1,
/* 91 */ 3, 1, 253, 1,
/* 92 */ 3, 1, 253, 1,
/* 93 */ 3, 1, 253, 1,
/* 94 */ 3, 1, 253, 1,
/* 95 */ 3, 1, 253, 1,
/* 96 */ 3, 1, 253, 1,
/* 97 */ 3, 1, 253, 1,
/* 98 */ 3, 1, 253, 1,
/* 99 */ 3, 1, 253, 1,
/* 100 */ 3, 1, 253, 1,
/* 101 */ 2, 0, 255,
/* 102 */ 2, 0, 255,
/* 103 */ 2, 0, 255,
/* 104 */ 2, 0, 255,
/* 105 */ 2, 0, 255,
/* 106 */ 2, 0, 255,
/* 107 */ 2, 0, 255,
/* 108 */ 2, 0, 255,
/* 109 */ 2, 0, 255,
/* 110 */ 2, 0, 255,
/* 111 */ 2, 0, 255,
/* 112 */ 3, 1, 253, 1,
/* 113 */ 3, 1, 253, 1,
/* 114 */ 3, 1, 253, 1,
/* 115 */ 3, 1, 253, 1,
/* 116 */ 5, 1, 113, 28, 112, 1,
/* 117 */ 5, 2, 112, 28, 111, 2,
/* 118 */ 5, 2, 112, 28, 111, 2,
/* 119 */ 5, 2, 112, 28, 111, 2,
/* 120 */ 5, 3, 111, 28, 110, 3,
/* 121 */ 5, 3, 111, 28, 110, 3,
/* 122 */ 9, 4, 53, 2, 55, 28, 55, 1, 53, 4,
/* 123 */ 9, 4, 52, 3, 54, 30, 53, 3, 52, 4,
/* 124 */ 9, 5, 50, 5, 53, 30, 53, 4, 50, 5,
/* 125 */ 9, 5, 49, 6, 53, 30, 53, 5, 49, 5,
/* 126 */ 9, 6, 47, 8, 51, 32, 51, 8, 46, 6,
/* 127 */ 9, 7, 44, 10, 51, 32, 51, 9, 44, 7,
/* 128 */ 9, 8, 42, 12, 49, 34, 49, 11, 42, 8,
/* 129 */ 9, 9, 40, 13, 49, 34, 49, 12, 40, 9,
/* 130 */ 9, 10, 37, 16, 47, 36, 47, 15, 37, 10,
/* 131 */ 9, 11, 35, 18, 45, 38, 45, 17, 35, 11,
/* 132 */ 9, 12, 32, 20, 44, 40, 44, 19, 32, 12,
/* 133 */ 9, 13, 30, 22, 42, 42, 42, 22, 29, 13,
/* 134 */ 9, 14, 27, 25, 40, 44, 40, 25, 25, 15,
/* 135 */ 9, 16, 22, 30, 37, 46, 37, 29, 21, 17,
/* 136 */ 11, 19, 16, 34, 35, 48, 35, 32, 1, 1, 14, 20,
/* 137 */ 7, 24, 6, 40, 32, 52, 32, 69,
/* 138 */ 5, 72, 28, 56, 28, 71,
/* 139 */ 5, 74, 24, 60, 24, 73,
/* 140 */ 5, 77, 18, 66, 18, 76,
/* 141 */ 5, 81, 10, 74, 10, 80,
};
/* sizeof( body ) = 721 */
static uint8_t buttons[] =
{
/* 0 */ 5, 38, 12, 13, 154, 13, 13, 37,
/* 1 */ 5, 35, 12, 21, 144, 13, 21, 34,
/* 2 */ 5, 33, 12, 26, 138, 13, 26, 32,
/* 3 */ 5, 32, 12, 28, 136, 13, 28, 31,
/* 4 */ 5, 32, 12, 29, 134, 13, 30, 30,
/* 5 */ 5, 31, 12, 31, 133, 13, 30, 30,
/* 6 */ 5, 31, 12, 31, 133, 13, 30, 30,
/* 7 */ 9, 31, 12, 2, 23, 12, 6, 133, 13, 5, 24, 13, 1, 30,
/* 8 */ 5, 60, 12, 1, 134, 13, 1, 59,
/* 9 */ 1, 255,
/* 10 */ 1, 255,
/* 11 */ 1, 255,
/* 12 */ 5, 39, 10, 13, 152, 11, 14, 37,
/* 13 */ 5, 34, 10, 24, 141, 11, 24, 32,
/* 14 */ 5, 31, 10, 29, 136, 11, 29, 30,
/* 15 */ 5, 30, 10, 31, 134, 11, 32, 28,
/* 16 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 17 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 18 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 19 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 20 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 21 */ 9, 29, 10, 7, 19, 10, 7, 133, 11, 7, 18, 11, 7, 28,
/* 22 */ 9, 29, 10, 2, 29, 10, 2, 133, 11, 1, 29, 11, 2, 28,
/* 23 */ 1, 255,
/* 24 */ 1, 255,
/* 25 */ 1, 255,
/* 26 */ 1, 255,
/* 27 */ 1, 255,
/* 28 */ 1, 255,
/* 29 */ 1, 255,
/* 30 */ 1, 255,
/* 31 */ 1, 255,
/* 32 */ 1, 255,
/* 33 */ 1, 255,
/* 34 */ 1, 255,
/* 35 */ 1, 255,
/* 36 */ 1, 255,
/* 37 */ 1, 255,
/* 38 */ 1, 255,
/* 39 */ 1, 255,
/* 40 */ 1, 255,
/* 41 */ 1, 255,
/* 42 */ 1, 255,
/* 43 */ 1, 255,
/* 44 */ 1, 255,
/* 45 */ 1, 255,
/* 46 */ 1, 255,
/* 47 */ 1, 255,
/* 48 */ 1, 255,
/* 49 */ 1, 255,
/* 50 */ 1, 255,
/* 51 */ 1, 255,
/* 52 */ 1, 255,
/* 53 */ 1, 255,
/* 54 */ 1, 255,
/* 55 */ 1, 255,
/* 56 */ 1, 255,
/* 57 */ 3, 207, 9, 6, 42,
/* 58 */ 3, 205, 9, 10, 40,
/* 59 */ 3, 204, 9, 13, 38,
/* 60 */ 3, 203, 9, 15, 37,
/* 61 */ 3, 202, 9, 16, 37,
/* 62 */ 3, 202, 9, 17, 36,
/* 63 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 64 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 65 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 66 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 67 */ 5, 39, 4, 13, 150, 9, 17, 36,
/* 68 */ 5, 39, 4, 13, 150, 9, 17, 36,
/* 69 */ 5, 39, 4, 13, 151, 9, 15, 37,
/* 70 */ 5, 39, 4, 13, 151, 9, 14, 38,
/* 71 */ 5, 40, 4, 12, 153, 9, 11, 39,
/* 72 */ 5, 41, 4, 10, 156, 9, 7, 41,
/* 73 */ 3, 42, 4, 8, 205,
/* 74 */ 3, 43, 4, 6, 206,
/* 75 */ 7, 44, 4, 4, 139, 1, 3, 41, 8, 3, 21,
/* 76 */ 11, 24, 6, 11, 10, 4, 2, 9, 7, 11, 117, 1, 9, 35, 8, 9, 18,
/* 77 */ 9, 24, 6, 12, 19, 7, 12, 115, 1, 12, 33, 8, 12, 16,
/* 78 */ 13, 24, 6, 13, 17, 7, 13, 30, 2, 14, 35, 3, 13, 22, 1, 14, 30, 8, 15, 15,
/* 79 */ 13, 24, 6, 14, 15, 7, 14, 30, 2, 14, 34, 3, 14, 21, 1, 16, 29, 8, 16, 14,
/* 80 */ 13, 24, 6, 15, 13, 7, 15, 30, 2, 14, 34, 3, 14, 21, 1, 17, 27, 8, 17, 14,
/* 81 */ 13, 24, 6, 16, 11, 7, 16, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 82 */ 13, 24, 6, 16, 12, 7, 15, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 83 */ 13, 24, 6, 15, 14, 7, 14, 30, 2, 14, 34, 3, 14, 20, 1, 18, 26, 8, 19, 13,
/* 84 */ 13, 24, 6, 14, 16, 7, 13, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 85 */ 9, 24, 6, 13, 18, 7, 12, 112, 1, 18, 27, 8, 17, 14,
/* 86 */ 9, 24, 6, 12, 20, 7, 11, 113, 1, 17, 27, 8, 17, 14,
/* 87 */ 13, 24, 6, 11, 10, 5, 1, 11, 7, 10, 57, 16, 8, 48, 1, 16, 29, 8, 16, 14,
/* 88 */ 9, 44, 5, 3, 75, 16, 12, 47, 1, 14, 31, 8, 14, 15,
/* 89 */ 9, 43, 5, 5, 73, 16, 14, 47, 1, 12, 33, 8, 12, 16,
/* 90 */ 9, 42, 5, 7, 71, 16, 16, 48, 1, 9, 35, 8, 9, 18,
/* 91 */ 5, 41, 5, 9, 70, 16, 16, 119,
/* 92 */ 5, 40, 5, 11, 68, 16, 18, 118,
/* 93 */ 7, 39, 5, 13, 67, 16, 18, 70, 0, 7, 41,
/* 94 */ 7, 39, 5, 13, 67, 16, 18, 68, 0, 11, 39,
/* 95 */ 7, 39, 5, 13, 67, 16, 18, 67, 0, 13, 38,
/* 96 */ 7, 39, 5, 13, 67, 16, 18, 66, 0, 15, 37,
/* 97 */ 7, 39, 5, 13, 67, 16, 17, 66, 0, 17, 36,
/* 98 */ 7, 39, 5, 13, 68, 16, 16, 66, 0, 17, 36,
/* 99 */ 7, 39, 5, 13, 68, 16, 15, 66, 0, 18, 36,
/* 100 */ 7, 39, 5, 13, 69, 16, 13, 67, 0, 18, 36,
/* 101 */ 5, 123, 16, 10, 68, 0, 18, 36,
/* 102 */ 5, 125, 16, 5, 71, 0, 18, 36,
/* 103 */ 3, 202, 0, 17, 36,
/* 104 */ 7, 82, 14, 9, 75, 15, 8, 28, 0, 17, 36,
/* 105 */ 7, 79, 14, 15, 69, 15, 14, 26, 0, 15, 37,
/* 106 */ 7, 77, 14, 19, 65, 15, 18, 25, 0, 13, 38,
/* 107 */ 7, 76, 14, 21, 62, 15, 22, 24, 0, 11, 39,
/* 108 */ 7, 75, 14, 23, 60, 15, 24, 25, 0, 7, 41,
/* 109 */ 5, 74, 14, 25, 58, 15, 26, 72,
/* 110 */ 5, 73, 14, 27, 56, 15, 28, 71,
/* 111 */ 5, 72, 14, 29, 55, 15, 28, 71,
/* 112 */ 5, 71, 14, 31, 53, 15, 30, 70,
/* 113 */ 5, 71, 14, 31, 52, 15, 32, 69,
/* 114 */ 5, 70, 14, 33, 51, 15, 32, 69,
/* 115 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 116 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 117 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 118 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 119 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 120 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 121 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 122 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 123 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 124 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 125 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 126 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 127 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 128 */ 5, 70, 14, 33, 51, 15, 32, 69,
/* 129 */ 5, 71, 14, 31, 52, 15, 32, 69,
/* 130 */ 5, 71, 14, 31, 53, 15, 30, 70,
/* 131 */ 5, 72, 14, 29, 55, 15, 28, 71,
/* 132 */ 5, 73, 14, 27, 56, 15, 28, 71,
/* 133 */ 5, 74, 14, 25, 58, 15, 26, 72,
/* 134 */ 5, 75, 14, 23, 60, 15, 24, 73,
/* 135 */ 5, 76, 14, 21, 62, 15, 22, 74,
/* 136 */ 5, 77, 14, 19, 65, 15, 18, 76,
/* 137 */ 5, 79, 14, 15, 69, 15, 14, 78,
/* 138 */ 5, 82, 14, 9, 75, 15, 8, 81,
/* 139 */ 1, 255,
/* 140 */ 1, 255,
/* 141 */ 1, 255,
};
/* sizeof( buttons ) = 1070 */
#endif /* REMOTEPAD_H */
#ifndef REMOTEPAD_H
#define REMOTEPAD_H
static uint8_t body[] =
{
/* 0 */ 3, 38, 13, 204,
/* 1 */ 3, 35, 21, 199,
/* 2 */ 3, 33, 26, 196,
/* 3 */ 3, 32, 28, 195,
/* 4 */ 3, 32, 29, 194,
/* 5 */ 5, 31, 31, 133, 28, 32,
/* 6 */ 5, 31, 31, 133, 31, 29,
/* 7 */ 5, 31, 31, 133, 31, 29,
/* 8 */ 5, 31, 31, 132, 32, 29,
/* 9 */ 5, 31, 31, 132, 32, 29,
/* 10 */ 5, 30, 32, 132, 32, 29,
/* 11 */ 5, 28, 35, 129, 35, 28,
/* 12 */ 5, 27, 37, 127, 37, 27,
/* 13 */ 5, 26, 39, 125, 39, 26,
/* 14 */ 5, 25, 41, 123, 41, 25,
/* 15 */ 5, 25, 41, 123, 42, 24,
/* 16 */ 5, 24, 43, 121, 43, 24,
/* 17 */ 5, 24, 43, 121, 44, 23,
/* 18 */ 5, 23, 45, 120, 44, 23,
/* 19 */ 5, 23, 45, 119, 45, 23,
/* 20 */ 5, 23, 45, 119, 46, 22,
/* 21 */ 5, 23, 46, 118, 46, 22,
/* 22 */ 5, 22, 47, 118, 46, 22,
/* 23 */ 5, 22, 47, 117, 47, 22,
/* 24 */ 5, 22, 47, 117, 48, 21,
/* 25 */ 5, 22, 48, 115, 49, 21,
/* 26 */ 5, 22, 49, 112, 51, 21,
/* 27 */ 5, 22, 51, 110, 51, 21,
/* 28 */ 5, 21, 53, 107, 53, 21,
/* 29 */ 3, 20, 215, 20,
/* 30 */ 3, 19, 217, 19,
/* 31 */ 3, 18, 219, 18,
/* 32 */ 3, 17, 221, 17,
/* 33 */ 3, 16, 223, 16,
/* 34 */ 3, 16, 223, 16,
/* 35 */ 3, 15, 225, 15,
/* 36 */ 3, 14, 227, 14,
/* 37 */ 3, 14, 227, 14,
/* 38 */ 3, 13, 229, 13,
/* 39 */ 3, 13, 229, 13,
/* 40 */ 3, 12, 231, 12,
/* 41 */ 3, 12, 231, 12,
/* 42 */ 3, 11, 233, 11,
/* 43 */ 3, 11, 233, 11,
/* 44 */ 3, 10, 235, 10,
/* 45 */ 3, 10, 235, 10,
/* 46 */ 3, 9, 237, 9,
/* 47 */ 3, 9, 237, 9,
/* 48 */ 3, 9, 237, 9,
/* 49 */ 3, 8, 239, 8,
/* 50 */ 3, 7, 241, 7,
/* 51 */ 3, 7, 241, 7,
/* 52 */ 3, 7, 241, 7,
/* 53 */ 3, 7, 241, 7,
/* 54 */ 3, 6, 243, 6,
/* 55 */ 3, 6, 243, 6,
/* 56 */ 3, 6, 243, 6,
/* 57 */ 3, 5, 245, 5,
/* 58 */ 3, 5, 245, 5,
/* 59 */ 3, 5, 245, 5,
/* 60 */ 3, 5, 245, 5,
/* 61 */ 3, 4, 247, 4,
/* 62 */ 3, 4, 247, 4,
/* 63 */ 3, 4, 247, 4,
/* 64 */ 3, 4, 247, 4,
/* 65 */ 3, 4, 247, 4,
/* 66 */ 3, 4, 247, 4,
/* 67 */ 3, 3, 248, 4,
/* 68 */ 3, 3, 249, 3,
/* 69 */ 3, 3, 249, 3,
/* 70 */ 3, 3, 249, 3,
/* 71 */ 3, 3, 249, 3,
/* 72 */ 3, 3, 249, 3,
/* 73 */ 3, 3, 249, 3,
/* 74 */ 3, 3, 249, 3,
/* 75 */ 3, 3, 249, 3,
/* 76 */ 3, 3, 249, 3,
/* 77 */ 3, 2, 251, 2,
/* 78 */ 3, 2, 251, 2,
/* 79 */ 3, 2, 251, 2,
/* 80 */ 3, 2, 251, 2,
/* 81 */ 3, 2, 251, 2,
/* 82 */ 3, 2, 251, 2,
/* 83 */ 3, 2, 251, 2,
/* 84 */ 3, 2, 251, 2,
/* 85 */ 3, 2, 251, 2,
/* 86 */ 3, 1, 253, 1,
/* 87 */ 3, 1, 253, 1,
/* 88 */ 3, 1, 253, 1,
/* 89 */ 3, 1, 253, 1,
/* 90 */ 3, 1, 253, 1,
/* 91 */ 3, 1, 253, 1,
/* 92 */ 3, 1, 253, 1,
/* 93 */ 3, 1, 253, 1,
/* 94 */ 3, 1, 253, 1,
/* 95 */ 3, 1, 253, 1,
/* 96 */ 3, 1, 253, 1,
/* 97 */ 3, 1, 253, 1,
/* 98 */ 3, 1, 253, 1,
/* 99 */ 3, 1, 253, 1,
/* 100 */ 3, 1, 253, 1,
/* 101 */ 2, 0, 255,
/* 102 */ 2, 0, 255,
/* 103 */ 2, 0, 255,
/* 104 */ 2, 0, 255,
/* 105 */ 2, 0, 255,
/* 106 */ 2, 0, 255,
/* 107 */ 2, 0, 255,
/* 108 */ 2, 0, 255,
/* 109 */ 2, 0, 255,
/* 110 */ 2, 0, 255,
/* 111 */ 2, 0, 255,
/* 112 */ 3, 1, 253, 1,
/* 113 */ 3, 1, 253, 1,
/* 114 */ 3, 1, 253, 1,
/* 115 */ 3, 1, 253, 1,
/* 116 */ 5, 1, 113, 28, 112, 1,
/* 117 */ 5, 2, 112, 28, 111, 2,
/* 118 */ 5, 2, 112, 28, 111, 2,
/* 119 */ 5, 2, 112, 28, 111, 2,
/* 120 */ 5, 3, 111, 28, 110, 3,
/* 121 */ 5, 3, 111, 28, 110, 3,
/* 122 */ 9, 4, 53, 2, 55, 28, 55, 1, 53, 4,
/* 123 */ 9, 4, 52, 3, 54, 30, 53, 3, 52, 4,
/* 124 */ 9, 5, 50, 5, 53, 30, 53, 4, 50, 5,
/* 125 */ 9, 5, 49, 6, 53, 30, 53, 5, 49, 5,
/* 126 */ 9, 6, 47, 8, 51, 32, 51, 8, 46, 6,
/* 127 */ 9, 7, 44, 10, 51, 32, 51, 9, 44, 7,
/* 128 */ 9, 8, 42, 12, 49, 34, 49, 11, 42, 8,
/* 129 */ 9, 9, 40, 13, 49, 34, 49, 12, 40, 9,
/* 130 */ 9, 10, 37, 16, 47, 36, 47, 15, 37, 10,
/* 131 */ 9, 11, 35, 18, 45, 38, 45, 17, 35, 11,
/* 132 */ 9, 12, 32, 20, 44, 40, 44, 19, 32, 12,
/* 133 */ 9, 13, 30, 22, 42, 42, 42, 22, 29, 13,
/* 134 */ 9, 14, 27, 25, 40, 44, 40, 25, 25, 15,
/* 135 */ 9, 16, 22, 30, 37, 46, 37, 29, 21, 17,
/* 136 */ 11, 19, 16, 34, 35, 48, 35, 32, 1, 1, 14, 20,
/* 137 */ 7, 24, 6, 40, 32, 52, 32, 69,
/* 138 */ 5, 72, 28, 56, 28, 71,
/* 139 */ 5, 74, 24, 60, 24, 73,
/* 140 */ 5, 77, 18, 66, 18, 76,
/* 141 */ 5, 81, 10, 74, 10, 80,
};
/* sizeof( body ) = 721 */
static uint8_t buttons[] =
{
/* 0 */ 5, 38, 12, 13, 154, 13, 13, 37,
/* 1 */ 5, 35, 12, 21, 144, 13, 21, 34,
/* 2 */ 5, 33, 12, 26, 138, 13, 26, 32,
/* 3 */ 5, 32, 12, 28, 136, 13, 28, 31,
/* 4 */ 5, 32, 12, 29, 134, 13, 30, 30,
/* 5 */ 5, 31, 12, 31, 133, 13, 30, 30,
/* 6 */ 5, 31, 12, 31, 133, 13, 30, 30,
/* 7 */ 9, 31, 12, 2, 23, 12, 6, 133, 13, 5, 24, 13, 1, 30,
/* 8 */ 5, 60, 12, 1, 134, 13, 1, 59,
/* 9 */ 1, 255,
/* 10 */ 1, 255,
/* 11 */ 1, 255,
/* 12 */ 5, 39, 10, 13, 152, 11, 14, 37,
/* 13 */ 5, 34, 10, 24, 141, 11, 24, 32,
/* 14 */ 5, 31, 10, 29, 136, 11, 29, 30,
/* 15 */ 5, 30, 10, 31, 134, 11, 32, 28,
/* 16 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 17 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 18 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 19 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 20 */ 5, 29, 10, 33, 133, 11, 32, 28,
/* 21 */ 9, 29, 10, 7, 19, 10, 7, 133, 11, 7, 18, 11, 7, 28,
/* 22 */ 9, 29, 10, 2, 29, 10, 2, 133, 11, 1, 29, 11, 2, 28,
/* 23 */ 1, 255,
/* 24 */ 1, 255,
/* 25 */ 1, 255,
/* 26 */ 1, 255,
/* 27 */ 1, 255,
/* 28 */ 1, 255,
/* 29 */ 1, 255,
/* 30 */ 1, 255,
/* 31 */ 1, 255,
/* 32 */ 1, 255,
/* 33 */ 1, 255,
/* 34 */ 1, 255,
/* 35 */ 1, 255,
/* 36 */ 1, 255,
/* 37 */ 1, 255,
/* 38 */ 1, 255,
/* 39 */ 1, 255,
/* 40 */ 1, 255,
/* 41 */ 1, 255,
/* 42 */ 1, 255,
/* 43 */ 1, 255,
/* 44 */ 1, 255,
/* 45 */ 1, 255,
/* 46 */ 1, 255,
/* 47 */ 1, 255,
/* 48 */ 1, 255,
/* 49 */ 1, 255,
/* 50 */ 1, 255,
/* 51 */ 1, 255,
/* 52 */ 1, 255,
/* 53 */ 1, 255,
/* 54 */ 1, 255,
/* 55 */ 1, 255,
/* 56 */ 1, 255,
/* 57 */ 3, 207, 9, 6, 42,
/* 58 */ 3, 205, 9, 10, 40,
/* 59 */ 3, 204, 9, 13, 38,
/* 60 */ 3, 203, 9, 15, 37,
/* 61 */ 3, 202, 9, 16, 37,
/* 62 */ 3, 202, 9, 17, 36,
/* 63 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 64 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 65 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 66 */ 5, 39, 4, 13, 149, 9, 18, 36,
/* 67 */ 5, 39, 4, 13, 150, 9, 17, 36,
/* 68 */ 5, 39, 4, 13, 150, 9, 17, 36,
/* 69 */ 5, 39, 4, 13, 151, 9, 15, 37,
/* 70 */ 5, 39, 4, 13, 151, 9, 14, 38,
/* 71 */ 5, 40, 4, 12, 153, 9, 11, 39,
/* 72 */ 5, 41, 4, 10, 156, 9, 7, 41,
/* 73 */ 3, 42, 4, 8, 205,
/* 74 */ 3, 43, 4, 6, 206,
/* 75 */ 7, 44, 4, 4, 139, 1, 3, 41, 8, 3, 21,
/* 76 */ 11, 24, 6, 11, 10, 4, 2, 9, 7, 11, 117, 1, 9, 35, 8, 9, 18,
/* 77 */ 9, 24, 6, 12, 19, 7, 12, 115, 1, 12, 33, 8, 12, 16,
/* 78 */ 13, 24, 6, 13, 17, 7, 13, 30, 2, 14, 35, 3, 13, 22, 1, 14, 30, 8, 15, 15,
/* 79 */ 13, 24, 6, 14, 15, 7, 14, 30, 2, 14, 34, 3, 14, 21, 1, 16, 29, 8, 16, 14,
/* 80 */ 13, 24, 6, 15, 13, 7, 15, 30, 2, 14, 34, 3, 14, 21, 1, 17, 27, 8, 17, 14,
/* 81 */ 13, 24, 6, 16, 11, 7, 16, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 82 */ 13, 24, 6, 16, 12, 7, 15, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 83 */ 13, 24, 6, 15, 14, 7, 14, 30, 2, 14, 34, 3, 14, 20, 1, 18, 26, 8, 19, 13,
/* 84 */ 13, 24, 6, 14, 16, 7, 13, 30, 2, 14, 34, 3, 14, 20, 1, 18, 27, 8, 18, 13,
/* 85 */ 9, 24, 6, 13, 18, 7, 12, 112, 1, 18, 27, 8, 17, 14,
/* 86 */ 9, 24, 6, 12, 20, 7, 11, 113, 1, 17, 27, 8, 17, 14,
/* 87 */ 13, 24, 6, 11, 10, 5, 1, 11, 7, 10, 57, 16, 8, 48, 1, 16, 29, 8, 16, 14,
/* 88 */ 9, 44, 5, 3, 75, 16, 12, 47, 1, 14, 31, 8, 14, 15,
/* 89 */ 9, 43, 5, 5, 73, 16, 14, 47, 1, 12, 33, 8, 12, 16,
/* 90 */ 9, 42, 5, 7, 71, 16, 16, 48, 1, 9, 35, 8, 9, 18,
/* 91 */ 5, 41, 5, 9, 70, 16, 16, 119,
/* 92 */ 5, 40, 5, 11, 68, 16, 18, 118,
/* 93 */ 7, 39, 5, 13, 67, 16, 18, 70, 0, 7, 41,
/* 94 */ 7, 39, 5, 13, 67, 16, 18, 68, 0, 11, 39,
/* 95 */ 7, 39, 5, 13, 67, 16, 18, 67, 0, 13, 38,
/* 96 */ 7, 39, 5, 13, 67, 16, 18, 66, 0, 15, 37,
/* 97 */ 7, 39, 5, 13, 67, 16, 17, 66, 0, 17, 36,
/* 98 */ 7, 39, 5, 13, 68, 16, 16, 66, 0, 17, 36,
/* 99 */ 7, 39, 5, 13, 68, 16, 15, 66, 0, 18, 36,
/* 100 */ 7, 39, 5, 13, 69, 16, 13, 67, 0, 18, 36,
/* 101 */ 5, 123, 16, 10, 68, 0, 18, 36,
/* 102 */ 5, 125, 16, 5, 71, 0, 18, 36,
/* 103 */ 3, 202, 0, 17, 36,
/* 104 */ 7, 82, 14, 9, 75, 15, 8, 28, 0, 17, 36,
/* 105 */ 7, 79, 14, 15, 69, 15, 14, 26, 0, 15, 37,
/* 106 */ 7, 77, 14, 19, 65, 15, 18, 25, 0, 13, 38,
/* 107 */ 7, 76, 14, 21, 62, 15, 22, 24, 0, 11, 39,
/* 108 */ 7, 75, 14, 23, 60, 15, 24, 25, 0, 7, 41,
/* 109 */ 5, 74, 14, 25, 58, 15, 26, 72,
/* 110 */ 5, 73, 14, 27, 56, 15, 28, 71,
/* 111 */ 5, 72, 14, 29, 55, 15, 28, 71,
/* 112 */ 5, 71, 14, 31, 53, 15, 30, 70,
/* 113 */ 5, 71, 14, 31, 52, 15, 32, 69,
/* 114 */ 5, 70, 14, 33, 51, 15, 32, 69,
/* 115 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 116 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 117 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 118 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 119 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 120 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 121 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 122 */ 5, 69, 14, 35, 48, 15, 36, 67,
/* 123 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 124 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 125 */ 5, 69, 14, 35, 49, 15, 34, 68,
/* 126 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 127 */ 5, 70, 14, 33, 50, 15, 34, 68,
/* 128 */ 5, 70, 14, 33, 51, 15, 32, 69,
/* 129 */ 5, 71, 14, 31, 52, 15, 32, 69,
/* 130 */ 5, 71, 14, 31, 53, 15, 30, 70,
/* 131 */ 5, 72, 14, 29, 55, 15, 28, 71,
/* 132 */ 5, 73, 14, 27, 56, 15, 28, 71,
/* 133 */ 5, 74, 14, 25, 58, 15, 26, 72,
/* 134 */ 5, 75, 14, 23, 60, 15, 24, 73,
/* 135 */ 5, 76, 14, 21, 62, 15, 22, 74,
/* 136 */ 5, 77, 14, 19, 65, 15, 18, 76,
/* 137 */ 5, 79, 14, 15, 69, 15, 14, 78,
/* 138 */ 5, 82, 14, 9, 75, 15, 8, 81,
/* 139 */ 1, 255,
/* 140 */ 1, 255,
/* 141 */ 1, 255,
};
/* sizeof( buttons ) = 1070 */
#endif /* REMOTEPAD_H */