diff --git a/Makefile b/Makefile index b0d01cc..8376e73 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ TIC80_H = include/tic80_types.h include/tic80.h include/tic80_config.h src/tic.h TIC_H= src/*.h \ src/ext/*.h -bin/studio.o: src/studio.c src/keycodes.c $(TIC80_H) $(TIC_H) +bin/studio.o: src/studio.c $(TIC80_H) $(TIC_H) $(CC) $< $(OPT) $(INCLUDES) -c -o $@ bin/console.o: src/console.c $(TIC80_H) $(TIC_H) $(DEMO_ASSETS) @@ -258,7 +258,7 @@ bin/menu.o: src/menu.c $(TIC80_H) $(TIC_H) bin/surf.o: src/surf.c $(TIC80_H) $(TIC_H) $(CC) $< $(OPT) $(INCLUDES) -c -o $@ -bin/system.o: src/system.c src/keycodes.c $(TIC80_H) $(TIC_H) +bin/system.o: src/system.c src/keycodes.inl src/kbdlayout.inl src/kbdlabels.inl $(TIC80_H) $(TIC_H) $(CC) $< $(OPT) $(INCLUDES) -c -o $@ bin/chip.o: src/system/chip.c src/keycodes.c $(TIC80_H) $(TIC_H) diff --git a/bin/assets/config.tic.dat b/bin/assets/config.tic.dat index 0cfa572..ebd09de 100644 --- a/bin/assets/config.tic.dat +++ b/bin/assets/config.tic.dat @@ -1 +1 @@ -0x78, 0xda, 0xed, 0x18, 0x4b, 0x6c, 0x1b, 0xc7, 0x75, 0xfd, 0x49, 0x1a, 0x32, 0xae, 0xc7, 0x02, 0x8a, 0xa0, 0x9f, 0xb4, 0x59, 0xa8, 0x69, 0x4b, 0x4a, 0x24, 0x45, 0x91, 0x92, 0xea, 0xda, 0xdd, 0xa6, 0xb2, 0x48, 0x4b, 0x6a, 0xf4, 0x83, 0x24, 0xc6, 0x0d, 0x8c, 0x44, 0x5d, 0x91, 0x4b, 0x89, 0x08, 0xc5, 0x55, 0x77, 0x49, 0x4b, 0x72, 0x20, 0x20, 0x08, 0x10, 0x40, 0x3d, 0xb9, 0x07, 0x17, 0xa8, 0x0e, 0x85, 0x52, 0xf8, 0xa6,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, 0x42, 0x14, 0x5a, 0x07, 0x3e, 0x95, 0xe7, 0x80, 0xf7, 0x05, 0x90, 0x3b, 0xc6, 0xce, 0x6f, 0xe9, 0xb0, 0xb0, 0x8c, 0xe7, 0xd3, 0x37, 0x53, 0x5f, 0xf9, 0x4a, 0xea, 0xdf, 0xc3, 0x20, 0xc6, 0x67, \ No newline at end of file diff --git a/config.tic b/config.tic index 5e0e368..a09b962 100644 Binary files a/config.tic and b/config.tic differ diff --git a/src/kbdlabels.inl b/src/kbdlabels.inl new file mode 100644 index 0000000..255e33e --- /dev/null +++ b/src/kbdlabels.inl @@ -0,0 +1,72 @@ +{"ESC", 0*8+3, 0*8+3, true}, + +{"F1", 2*8+4, 0*8+3, true}, +{"F2", 4*8+4, 0*8+3, true}, +{"F3", 6*8+4, 0*8+3, true}, +{"F4", 8*8+4, 0*8+3, true}, +{"F5", 10*8+4, 0*8+3, true}, +{"F6", 12*8+4, 0*8+3, true}, +{"F7", 14*8+4, 0*8+3, true}, +{"F8", 16*8+4, 0*8+3, true}, +{"F9", 18*8+4, 0*8+3, true}, +{"F10", 20*8+3, 0*8+3, true}, + +{"TAB", 0*8+3, 2*8+4, true}, +{"`", 2*8+3, 2*8+3, false, "~"}, +{"[", 4*8+3, 2*8+3, false, "{"}, +{"]", 6*8+3, 2*8+3, false, "}"}, +{";", 8*8+3, 2*8+3, false, ":"}, +{"'", 10*8+3, 2*8+3, false, "\""}, +{"-", 12*8+3, 2*8+3, false, "_"}, +{"=", 14*8+3, 2*8+3, false, "+"}, +{"/", 16*8+3, 2*8+3, false, "?"}, +{"F11", 18*8+3, 2*8+3, true}, +{"F12", 20*8+3, 2*8+3, true}, + +{"1", 0*8+3, 4*8+3, false, "!"}, +{"2", 2*8+3, 4*8+3, false, "@"}, +{"3", 4*8+3, 4*8+3, false, "#"}, +{"4", 6*8+3, 4*8+3, false, "$"}, +{"5", 8*8+3, 4*8+3, false, "%"}, +{"6", 10*8+3, 4*8+3, false, "^"}, +{"7", 12*8+3, 4*8+3, false, "&"}, +{"8", 14*8+3, 4*8+3, false, "*"}, +{"9", 16*8+3, 4*8+3, false, "("}, +{"0", 18*8+3, 4*8+3, false, ")"}, +{"BAC", 20*8+3, 4*8+4, true}, + +{"Q", 0*8+3, 6*8+3}, +{"W", 2*8+3, 6*8+3}, +{"E", 4*8+3, 6*8+3}, +{"R", 6*8+3, 6*8+3}, +{"T", 8*8+3, 6*8+3}, +{"Y", 10*8+3, 6*8+3}, +{"U", 12*8+3, 6*8+3}, +{"I", 14*8+3, 6*8+3}, +{"O", 16*8+3, 6*8+3}, +{"P", 18*8+3, 6*8+3}, +{"\\", 20*8+3, 6*8+3, false, "|"}, + +{"A", 1*8+3, 8*8+3}, +{"S", 3*8+3, 8*8+3}, +{"D", 5*8+3, 8*8+3}, +{"F", 7*8+3, 8*8+3}, +{"G", 9*8+3, 8*8+3}, +{"H", 11*8+3, 8*8+3}, +{"J", 13*8+3, 8*8+3}, +{"K", 15*8+3, 8*8+3}, +{"L", 17*8+3, 8*8+3}, +{"ENTER", 19*8+3, 8*8+4, true}, + +{"Z", 2*8+3, 10*8+3}, +{"X", 4*8+3, 10*8+3}, +{"C", 6*8+3, 10*8+3}, +{"V", 8*8+3, 10*8+3}, +{"B", 10*8+3, 10*8+3}, +{"N", 12*8+3, 10*8+3}, +{"M", 14*8+3, 10*8+3}, +{",", 16*8+3, 10*8+3, false, "<"}, +{".", 18*8+3, 10*8+3, false, ">"}, + +{"CTRL", 0*8+5, 12*8+4, true}, +{"ALT", 3*8+6, 12*8+4, true}, diff --git a/src/kbdlayout.inl b/src/kbdlayout.inl new file mode 100644 index 0000000..30e67ce --- /dev/null +++ b/src/kbdlayout.inl @@ -0,0 +1,407 @@ +//0 +tic_key_escape, +tic_key_escape, +tic_key_f1, +tic_key_f1, +tic_key_f2, +tic_key_f2, +tic_key_f3, +tic_key_f3, +tic_key_f4, +tic_key_f4, +tic_key_f5, +tic_key_f5, +tic_key_f6, +tic_key_f6, +tic_key_f7, +tic_key_f7, +tic_key_f8, +tic_key_f8, +tic_key_f9, +tic_key_f9, +tic_key_f10, +tic_key_f10, + +//1 +tic_key_escape, +tic_key_escape, +tic_key_f1, +tic_key_f1, +tic_key_f2, +tic_key_f2, +tic_key_f3, +tic_key_f3, +tic_key_f4, +tic_key_f4, +tic_key_f5, +tic_key_f5, +tic_key_f6, +tic_key_f6, +tic_key_f7, +tic_key_f7, +tic_key_f8, +tic_key_f8, +tic_key_f9, +tic_key_f9, +tic_key_f10, +tic_key_f10, + +//2 +tic_key_tab, +tic_key_tab, +tic_key_grave, +tic_key_grave, +tic_key_leftbracket, +tic_key_leftbracket, +tic_key_rightbracket, +tic_key_rightbracket, +tic_key_semicolon, +tic_key_semicolon, +tic_key_apostrophe, +tic_key_apostrophe, +tic_key_minus, +tic_key_minus, +tic_key_equals, +tic_key_equals, +tic_key_slash, +tic_key_slash, +tic_key_f11, +tic_key_f11, +tic_key_f12, +tic_key_f12, + +//3 +tic_key_tab, +tic_key_tab, +tic_key_grave, +tic_key_grave, +tic_key_leftbracket, +tic_key_leftbracket, +tic_key_rightbracket, +tic_key_rightbracket, +tic_key_semicolon, +tic_key_semicolon, +tic_key_apostrophe, +tic_key_apostrophe, +tic_key_minus, +tic_key_minus, +tic_key_equals, +tic_key_equals, +tic_key_slash, +tic_key_slash, +tic_key_f11, +tic_key_f11, +tic_key_f12, +tic_key_f12, + +//4 +tic_key_1, +tic_key_1, +tic_key_2, +tic_key_2, +tic_key_3, +tic_key_3, +tic_key_4, +tic_key_4, +tic_key_5, +tic_key_5, +tic_key_6, +tic_key_6, +tic_key_7, +tic_key_7, +tic_key_8, +tic_key_8, +tic_key_9, +tic_key_9, +tic_key_0, +tic_key_0, +tic_key_backspace, +tic_key_backspace, + +//5 +tic_key_1, +tic_key_1, +tic_key_2, +tic_key_2, +tic_key_3, +tic_key_3, +tic_key_4, +tic_key_4, +tic_key_5, +tic_key_5, +tic_key_6, +tic_key_6, +tic_key_7, +tic_key_7, +tic_key_8, +tic_key_8, +tic_key_9, +tic_key_9, +tic_key_0, +tic_key_0, +tic_key_backspace, +tic_key_backspace, + +//6 +tic_key_q, +tic_key_q, +tic_key_w, +tic_key_w, +tic_key_e, +tic_key_e, +tic_key_r, +tic_key_r, +tic_key_t, +tic_key_t, +tic_key_y, +tic_key_y, +tic_key_u, +tic_key_u, +tic_key_i, +tic_key_i, +tic_key_o, +tic_key_o, +tic_key_p, +tic_key_p, +tic_key_backslash, +tic_key_backslash, + +//7 +tic_key_q, +tic_key_q, +tic_key_w, +tic_key_w, +tic_key_e, +tic_key_e, +tic_key_r, +tic_key_r, +tic_key_t, +tic_key_t, +tic_key_y, +tic_key_y, +tic_key_u, +tic_key_u, +tic_key_i, +tic_key_i, +tic_key_o, +tic_key_o, +tic_key_p, +tic_key_p, +tic_key_backslash, +tic_key_backslash, + +//8 +tic_key_unknown, +tic_key_a, +tic_key_a, +tic_key_s, +tic_key_s, +tic_key_d, +tic_key_d, +tic_key_f, +tic_key_f, +tic_key_g, +tic_key_g, +tic_key_h, +tic_key_h, +tic_key_j, +tic_key_j, +tic_key_k, +tic_key_k, +tic_key_l, +tic_key_l, +tic_key_return, +tic_key_return, +tic_key_return, + +//9 +tic_key_unknown, +tic_key_a, +tic_key_a, +tic_key_s, +tic_key_s, +tic_key_d, +tic_key_d, +tic_key_f, +tic_key_f, +tic_key_g, +tic_key_g, +tic_key_h, +tic_key_h, +tic_key_j, +tic_key_j, +tic_key_k, +tic_key_k, +tic_key_l, +tic_key_l, +tic_key_return, +tic_key_return, +tic_key_return, + +//10 +tic_key_shift, +tic_key_shift, +tic_key_z, +tic_key_z, +tic_key_x, +tic_key_x, +tic_key_c, +tic_key_c, +tic_key_v, +tic_key_v, +tic_key_b, +tic_key_b, +tic_key_n, +tic_key_n, +tic_key_m, +tic_key_m, +tic_key_comma, +tic_key_comma, +tic_key_period, +tic_key_period, +tic_key_return, +tic_key_return, + +//11 +tic_key_shift, +tic_key_shift, +tic_key_z, +tic_key_z, +tic_key_x, +tic_key_x, +tic_key_c, +tic_key_c, +tic_key_v, +tic_key_v, +tic_key_b, +tic_key_b, +tic_key_n, +tic_key_n, +tic_key_m, +tic_key_m, +tic_key_comma, +tic_key_comma, +tic_key_period, +tic_key_period, +tic_key_return, +tic_key_return, + +//12 +tic_key_ctrl, +tic_key_ctrl, +tic_key_ctrl, +tic_key_alt, +tic_key_alt, +tic_key_alt, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, + +//13 +tic_key_ctrl, +tic_key_ctrl, +tic_key_ctrl, +tic_key_alt, +tic_key_alt, +tic_key_alt, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_space, +tic_key_unknown, +tic_key_unknown, +tic_key_up, +tic_key_up, +tic_key_unknown, +tic_key_unknown, + +//14 +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_up, +tic_key_up, +tic_key_unknown, +tic_key_unknown, + +//15 +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_left, +tic_key_left, +tic_key_down, +tic_key_down, +tic_key_right, +tic_key_right, + +//16 +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_unknown, +tic_key_left, +tic_key_left, +tic_key_down, +tic_key_down, +tic_key_right, +tic_key_right, diff --git a/src/keycodes.c b/src/keycodes.inl similarity index 100% rename from src/keycodes.c rename to src/keycodes.inl diff --git a/src/studio.c b/src/studio.c index aef234e..b982b87 100644 --- a/src/studio.c +++ b/src/studio.c @@ -526,6 +526,13 @@ const StudioConfig* getConfig() return &impl.config->data; } +static bool isGamepadMode() +{ + return impl.mode == TIC_RUN_MODE + || impl.mode == TIC_SURF_MODE + || impl.mode == TIC_MENU_MODE; +} + #if defined (TIC80_PRO) static void drawBankIcon(s32 x, s32 y) @@ -1873,6 +1880,7 @@ Studio* studioInit(s32 argc, char **argv, s32 samplerate, const char* folder, Sy impl.studio.updateProject = updateStudioProject; impl.studio.exit = exitStudio; impl.studio.config = getConfig; + impl.studio.isGamepadMode = isGamepadMode; return &impl.studio; } diff --git a/src/system.c b/src/system.c index 22b7eb7..8e03077 100644 --- a/src/system.c +++ b/src/system.c @@ -17,6 +17,9 @@ #define OFFSET_LEFT ((TIC80_FULLWIDTH-TIC80_WIDTH)/2) #define OFFSET_TOP ((TIC80_FULLHEIGHT-TIC80_HEIGHT)/2) +#define KBD_COLS 22 +#define KBD_ROWS 17 + static struct { Studio* studio; @@ -39,10 +42,6 @@ static struct tic80_gamepads touch; tic80_gamepads joystick; - bool show; - s32 counter; - s32 alpha; - struct { s32 size; @@ -54,6 +53,18 @@ static struct } part; } gamepad; + struct + { + struct + { + GPU_Image* up; + GPU_Image* down; + } texture; + + } keyboard; + + u32 touchCounter; + struct { GPU_Image* texture; @@ -162,15 +173,89 @@ static void updateGamepadParts() platform.gamepad.part.y = (SDL_Point){rect.w - 2*tileSize, 0*tileSize + offset}; } +static void drawKeyboardLabels(s32 shift) +{ + tic_mem* tic = platform.studio->tic; + + typedef struct {const char* text; s32 x; s32 y; bool alt; const char* shift;} Label; + static const Label Labels[] = + { + #include "kbdlabels.inl" + }; + + for(s32 i = 0; i < COUNT_OF(Labels); i++) + { + const Label* label = Labels + i; + if(label->text) + tic->api.text(tic, label->text, label->x, label->y + shift, tic_color_dark_gray, label->alt); + + if(label->shift) + tic->api.fixed_text(tic, label->shift, label->x + 6, label->y + shift + 2, tic_color_light_blue, label->alt); + } +} + +static void initTouchKeyboard() +{ + tic_mem* tic = platform.studio->tic; + + enum{Cols=KBD_COLS, Rows=KBD_ROWS}; + + // TODO: add touch keyboard to one texture with gamepad (and mouse cursor???) + if(!platform.keyboard.texture.up) + { + platform.keyboard.texture.up = GPU_CreateImage(TIC80_FULLWIDTH, TIC80_FULLHEIGHT, STUDIO_PIXEL_FORMAT); + GPU_SetAnchor(platform.keyboard.texture.up, 0, 0); + GPU_SetImageFilter(platform.keyboard.texture.up, GPU_FILTER_NEAREST); + } + + { + + memcpy(tic->ram.vram.palette.data, platform.studio->config()->cart->bank0.palette.data, sizeof(tic_palette)); + + tic->api.clear(tic, 0); + tic->api.map(tic, &platform.studio->config()->cart->bank0.map, + &platform.studio->config()->cart->bank0.tiles, 8, 0, Cols, Rows, 0, 0, -1, 1); + + drawKeyboardLabels(0); + + tic->api.blit(tic, NULL, NULL, NULL); + + GPU_UpdateImageBytes(platform.keyboard.texture.up, NULL, (const u8*)tic->screen, TIC80_FULLWIDTH * sizeof(u32)); + } + + if(!platform.keyboard.texture.down) + { + platform.keyboard.texture.down = GPU_CreateImage(TIC80_FULLWIDTH, TIC80_FULLHEIGHT, STUDIO_PIXEL_FORMAT); + GPU_SetAnchor(platform.keyboard.texture.down, 0, 0); + GPU_SetImageFilter(platform.keyboard.texture.down, GPU_FILTER_NEAREST); + } + + { + memcpy(tic->ram.vram.palette.data, platform.studio->config()->cart->bank0.palette.data, sizeof(tic_palette)); + + tic->api.map(tic, &platform.studio->config()->cart->bank0.map, + &platform.studio->config()->cart->bank0.tiles, TIC_MAP_SCREEN_WIDTH+8, 0, Cols, Rows, 0, 0, -1, 1); + + drawKeyboardLabels(2); + + tic->api.blit(tic, NULL, NULL, NULL); + + GPU_UpdateImageBytes(platform.keyboard.texture.down, NULL, (const u8*)tic->screen, TIC80_FULLWIDTH * sizeof(u32)); + } + +} + static void initTouchGamepad() { - platform.studio->tic->api.map(platform.studio->tic, &platform.studio->config()->cart->bank0.map, &platform.studio->config()->cart->bank0.tiles, 0, 0, TIC_MAP_SCREEN_WIDTH, TIC_MAP_SCREEN_HEIGHT, 0, 0, -1, 1); + platform.studio->tic->api.map(platform.studio->tic, &platform.studio->config()->cart->bank0.map, + &platform.studio->config()->cart->bank0.tiles, 0, 0, TIC_MAP_SCREEN_WIDTH, TIC_MAP_SCREEN_HEIGHT, 0, 0, -1, 1); if(!platform.gamepad.texture) { platform.gamepad.texture = GPU_CreateImage(TEXTURE_SIZE, TEXTURE_SIZE, STUDIO_PIXEL_FORMAT); GPU_SetAnchor(platform.gamepad.texture, 0, 0); GPU_SetImageFilter(platform.gamepad.texture, GPU_FILTER_NEAREST); + GPU_SetRGBA(platform.gamepad.texture, 0xff, 0xff, 0xff, platform.studio->config()->theme.gamepad.touch.alpha); } u32* data = SDL_malloc(TEXTURE_SIZE * TEXTURE_SIZE * sizeof(u32)); @@ -305,7 +390,7 @@ static void processKeyboard() { static const u8 KeyboardCodes[] = { - #include "keycodes.c" + #include "keycodes.inl" }; tic80_input* input = &platform.studio->tic->ram.input; @@ -330,24 +415,9 @@ static bool checkTouch(const SDL_Rect* rect, s32* x, s32* y) { SDL_TouchID id = SDL_GetTouchDevice(i); - // very strange, but on Android id always == 0 - //if (id) { s32 fingers = SDL_GetNumTouchFingers(id); - if(fingers) - { - platform.gamepad.counter = 0; - - if (!platform.gamepad.show) - { - platform.gamepad.alpha = platform.studio->config()->theme.gamepad.touch.alpha; - GPU_SetRGBA(platform.gamepad.texture, 0xff, 0xff, 0xff, platform.gamepad.alpha); - platform.gamepad.show = true; - return false; - } - } - for (s32 f = 0; f < fingers; f++) { SDL_Finger* finger = SDL_GetTouchFinger(id, f); @@ -369,10 +439,72 @@ static bool checkTouch(const SDL_Rect* rect, s32* x, s32* y) return false; } -static void processTouchGamepad() +static void processTouchKeyboard() { + if(platform.touchCounter == 0) return; + + enum{Cols=KBD_COLS, Rows=KBD_ROWS}; + + s32 w, h; + SDL_GetWindowSize(platform.window, &w, &h); + + float scale = (float)w / (KBD_COLS*TIC_SPRITESIZE); + + SDL_Rect kbd = {0, h - KBD_ROWS*TIC_SPRITESIZE*scale, + KBD_COLS*TIC_SPRITESIZE*scale, KBD_ROWS*TIC_SPRITESIZE*scale}; + + static const tic_key KbdLayout[] = + { + #include "kbdlayout.inl" + }; + + tic80_input* input = &platform.studio->tic->ram.input; + + s32 devices = SDL_GetNumTouchDevices(); + + for (s32 i = 0; i < devices; i++) + { + SDL_TouchID id = SDL_GetTouchDevice(i); + s32 fingers = SDL_GetNumTouchFingers(id); + + for (s32 f = 0; f < fingers; f++) + { + SDL_Finger* finger = SDL_GetTouchFinger(id, f); + + if (finger && finger->pressure > 0.0f) + { + SDL_Point pt = {finger->x * w, finger->y * h}; + + if(SDL_PointInRect(&pt, &kbd)) + { + pt.x -= kbd.x; + pt.y -= kbd.y; + + pt.x /= scale; + pt.y /= scale; + + for(s32 i = 0; i < COUNT_OF(input->keyboard.keys); i++) + { + tic_key* key = &input->keyboard.keys[i]; + + if(*key == tic_key_unknown) + { + *key = KbdLayout[pt.x / TIC_SPRITESIZE + pt.y / TIC_SPRITESIZE * Cols]; + break; + } + } + } + } + } + } +} + +static void processTouchGamepad() +{ platform.gamepad.touch.data = 0; + if(platform.touchCounter == 0) return; + const s32 size = platform.gamepad.part.size; s32 x = 0, y = 0; @@ -540,7 +672,19 @@ static void processJoysticks() static void processGamepad() { #if !defined(__EMSCRIPTEN__) && !defined(__MACOSX__) - processTouchGamepad(); + { + s32 devices = SDL_GetNumTouchDevices(); + for (s32 i = 0; i < devices; i++) + if(SDL_GetNumTouchFingers(SDL_GetTouchDevice(i)) > 0) + platform.touchCounter = 10 * TIC_FRAMERATE; + + if(platform.touchCounter) + platform.touchCounter--; + } + + platform.studio->isGamepadMode() + ? processTouchGamepad() + : processTouchKeyboard(); #endif processJoysticks(); @@ -675,9 +819,59 @@ static void blitSound() else SDL_QueueAudio(platform.audio.device, tic->samples.buffer, tic->samples.size); } +static void renderKeyboard() +{ + if(platform.touchCounter == 0) return; + + SDL_Rect rect; + SDL_GetWindowSize(platform.window, &rect.w, &rect.h); + + GPU_Rect src = {OFFSET_LEFT, OFFSET_TOP, KBD_COLS*TIC_SPRITESIZE, KBD_ROWS*TIC_SPRITESIZE}; + float scale = rect.w/src.w; + GPU_Rect dst = (GPU_Rect){0, rect.h - KBD_ROWS*TIC_SPRITESIZE*scale, scale, scale}; + + { + SDL_Rect rect; + calcTextureRect(&rect); + + if(dst.y - (rect.h + rect.y*2) < 0) + return; + } + + GPU_BlitScale(platform.keyboard.texture.up, &src, platform.gpu.screen, dst.x, dst.y, dst.w, dst.h); + + static const tic_key KbdLayout[] = + { + #include "kbdlayout.inl" + }; + + tic80_input* input = &platform.studio->tic->ram.input; + + enum{Cols=KBD_COLS, Rows=KBD_ROWS}; + + for(s32 i = 0; i < COUNT_OF(input->keyboard.keys); i++) + { + tic_key key = input->keyboard.keys[i]; + if(key > tic_key_unknown) + { + for(s32 k = 0; k < COUNT_OF(KbdLayout); k++) + { + if(key == KbdLayout[k]) + { + GPU_Rect src = {(k % Cols)*TIC_SPRITESIZE + OFFSET_LEFT, (k / Cols)*TIC_SPRITESIZE + OFFSET_TOP, + TIC_SPRITESIZE, TIC_SPRITESIZE}; + + GPU_BlitScale(platform.keyboard.texture.down, &src, platform.gpu.screen, + (src.x - OFFSET_LEFT) * dst.w, (src.y - OFFSET_TOP) * dst.h + dst.y, dst.w, dst.h); + } + } + } + } +} + static void renderGamepad() { - if(platform.gamepad.show || platform.gamepad.alpha); else return; + if(platform.touchCounter == 0) return; const s32 tileSize = platform.gamepad.part.size; const SDL_Point axis = platform.gamepad.part.axis; @@ -695,33 +889,15 @@ static void renderGamepad() {platform.studio->tic->ram.input.gamepads.first.y, platform.gamepad.part.y.x, platform.gamepad.part.y.y}, }; - enum {ButtonsCount = 8}; - for(s32 i = 0; i < COUNT_OF(Tiles); i++) { const Tile* tile = Tiles + i; - GPU_Rect src = {(tile->press ? ButtonsCount + i : i) * TIC_SPRITESIZE, 0, TIC_SPRITESIZE, TIC_SPRITESIZE}; + GPU_Rect src = {i * TIC_SPRITESIZE, tile->press ? TIC_SPRITESIZE : 0, TIC_SPRITESIZE, TIC_SPRITESIZE}; GPU_Rect dest = {tile->x, tile->y, tileSize, tileSize}; GPU_BlitScale(platform.gamepad.texture, &src, platform.gpu.screen, dest.x, dest.y, (float)dest.w / TIC_SPRITESIZE, (float)dest.h / TIC_SPRITESIZE); } - - if(!platform.gamepad.show && platform.gamepad.alpha) - { - enum {Step = 3}; - - if(platform.gamepad.alpha - Step >= 0) platform.gamepad.alpha -= Step; - else platform.gamepad.alpha = 0; - - GPU_SetRGBA(platform.gamepad.texture, 0xff, 0xff, 0xff, platform.gamepad.alpha); - } - - platform.gamepad.counter = platform.gamepad.touch.data ? 0 : platform.gamepad.counter+1; - - // wait 5 seconds and hide touch gamepad - if(platform.gamepad.counter >= 5 * TIC_FRAMERATE) - platform.gamepad.show = false; } static void blitCursor(const u8* in) @@ -1135,7 +1311,12 @@ static void gpuTick() } renderCursor(); - renderGamepad(); + +#if !defined(__EMSCRIPTEN__) && !defined(__MACOSX__) + platform.studio->isGamepadMode() + ? renderGamepad() + : renderKeyboard(); +#endif } GPU_Flip(platform.gpu.screen); @@ -1198,6 +1379,7 @@ static s32 start(s32 argc, char **argv, const char* folder) } initTouchGamepad(); + initTouchKeyboard(); platform.gpu.texture = GPU_CreateImage(TIC80_FULLWIDTH, TIC80_FULLHEIGHT, STUDIO_PIXEL_FORMAT); GPU_SetAnchor(platform.gpu.texture, 0, 0); @@ -1252,6 +1434,12 @@ static s32 start(s32 argc, char **argv, const char* folder) if(platform.gamepad.texture) GPU_FreeImage(platform.gamepad.texture); + if(platform.keyboard.texture.up) + GPU_FreeImage(platform.keyboard.texture.up); + + if(platform.keyboard.texture.down) + GPU_FreeImage(platform.keyboard.texture.down); + if(platform.mouse.texture) GPU_FreeImage(platform.mouse.texture); diff --git a/src/system.h b/src/system.h index c9490e1..c01bf01 100644 --- a/src/system.h +++ b/src/system.h @@ -91,6 +91,8 @@ typedef struct void (*updateProject)(); const StudioConfig* (*config)(); + // TODO: remove this method, system has to know nothing about current mode + bool (*isGamepadMode)(); } Studio; TIC80_API Studio* studioInit(s32 argc, char **argv, s32 samplerate, const char* appFolder, System* system); diff --git a/src/tic.c b/src/tic.c index 269953b..28f5299 100644 --- a/src/tic.c +++ b/src/tic.c @@ -662,7 +662,7 @@ static s32 api_fixed_text(tic_mem* memory, const char* text, s32 x, s32 y, u8 co static s32 drawNonFixedChar(tic_mem* memory, u8 symbol, s32 x, s32 y, s32 width, s32 height, u8 color, s32 scale, bool alt) { - const u8* ptr = memory->font.data + (symbol)*BITS_IN_BYTE + (alt ? TIC_FONT_CHARS / 2 : 0); + const u8* ptr = memory->font.data + (symbol + (alt ? TIC_FONT_CHARS / 2 : 0))*BITS_IN_BYTE; const s32 FontWidth = alt ? TIC_ALTFONT_WIDTH : TIC_FONT_WIDTH;