summaryrefslogtreecommitdiff
path: root/apps/plugins/rockblox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r--apps/plugins/rockblox.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 07a15bfb62..927710b37b 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -465,6 +465,9 @@
465#define ROCKBLOX_DROP BUTTON_PLAY 465#define ROCKBLOX_DROP BUTTON_PLAY
466#define ROCKBLOX_RESTART BUTTON_BACK 466#define ROCKBLOX_RESTART BUTTON_BACK
467 467
468#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
469/* use touchscreen */
470
468#else 471#else
469#error No keymap defined! 472#error No keymap defined!
470#endif 473#endif
@@ -534,6 +537,22 @@
534#define LEVEL_Y 142 537#define LEVEL_Y 142
535#define LINES_Y 218 538#define LINES_Y 218
536 539
540#elif (LCD_WIDTH == 360) && (LCD_HEIGHT == 400)
541
542#define BLOCK_WIDTH 19
543#define BLOCK_HEIGHT 19
544#define BOARD_X 27
545#define BOARD_Y 0
546#define LABEL_X 258
547#define SCORE_Y 40
548#define LEVEL_Y 92
549#define LINES_Y 140
550#define HIGH_LABEL_X 258
551#define HIGH_SCORE_Y 200
552#define HIGH_LEVEL_Y 258
553#define PREVIEW_X 258
554#define PREVIEW_Y 300
555
537#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) 556#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
538 557
539#define BLOCK_WIDTH 12 558#define BLOCK_WIDTH 12