From de6a15b128cecb59e4531d537f4699d3dcdc34b0 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 22 Apr 2023 03:08:00 +0200 Subject: [PATCH] Add FeliCa logo --- AfRApay.MateCard/include/logos.h | 37 +++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/AfRApay.MateCard/include/logos.h b/AfRApay.MateCard/include/logos.h index b93cadb..f3fd1d1 100644 --- a/AfRApay.MateCard/include/logos.h +++ b/AfRApay.MateCard/include/logos.h @@ -1,9 +1,44 @@ #pragma once enum e_logo { - LOGO_AFRAPAY, LOGO_CONTACTLESS, LOGO_MATECARD, LOGO_PENDING, LOGO_SUCCESS, LOGO_FAILURE + LOGO_AFRAPAY, LOGO_CONTACTLESS, LOGO_FELICA, LOGO_MATECARD, LOGO_PENDING, LOGO_SUCCESS, LOGO_FAILURE }; +#define felica_width 52 +#define felica_height 52 +static unsigned char felica_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xFC, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x80, 0xFF, 0xFF, + 0xFF, 0x0F, 0x00, 0x00, 0xE0, 0x0F, 0x00, 0xC0, 0x7F, 0x00, 0x00, 0xF0, + 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0xE0, 0x00, + 0x00, 0x18, 0x00, 0x00, 0x00, 0xC0, 0x01, 0x00, 0x0C, 0x00, 0x00, 0x00, + 0x80, 0x01, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x0E, 0x00, + 0x00, 0x00, 0x80, 0x03, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, + 0x06, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x00, + 0x00, 0x00, 0x03, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x06, + 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x07, + 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, + 0x00, 0x07, 0x00, 0x00, 0xF8, 0x3F, 0x00, 0x00, 0x07, 0x00, 0x00, 0xFF, + 0x7F, 0x00, 0x00, 0x07, 0x00, 0xC0, 0x7F, 0xE0, 0x00, 0x00, 0x07, 0x00, + 0xE0, 0x1F, 0xE0, 0x00, 0x00, 0x07, 0x00, 0xF8, 0x03, 0xC0, 0x01, 0x00, + 0x07, 0x00, 0xFC, 0x01, 0xC0, 0x01, 0x00, 0x03, 0x00, 0x7E, 0x00, 0xE0, + 0x01, 0x00, 0x03, 0x00, 0x3F, 0x00, 0xE0, 0x01, 0x00, 0x03, 0x80, 0x1F, + 0x00, 0xF0, 0x01, 0x00, 0x03, 0xC0, 0x07, 0x00, 0xF0, 0x00, 0x00, 0x03, + 0xE0, 0x03, 0x00, 0xF8, 0x00, 0x00, 0x03, 0xE0, 0x01, 0x00, 0x7C, 0x00, + 0x80, 0x01, 0xF0, 0x00, 0x00, 0x7E, 0x00, 0x80, 0x01, 0x78, 0x00, 0x00, + 0x3F, 0x00, 0x80, 0x01, 0x38, 0x00, 0x80, 0x1F, 0x00, 0xC0, 0x00, 0x1C, + 0x00, 0xC0, 0x0F, 0x00, 0xF0, 0x00, 0x0C, 0x00, 0xF0, 0x0F, 0x00, 0x7E, + 0x00, 0x00, 0x00, 0xF0, 0xFF, 0xFF, 0x3F, 0x00, 0x00, 0x00, 0xE0, 0xFF, + 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x03, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, }; + #define contactless_width 88 #define contactless_height 52 static unsigned char contactless_bits[] = {