Skip to content

Commit

Permalink
START = gb64 & some other new soft button mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
badda71 committed May 13, 2020
1 parent 0773ebd commit 30b5243
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/common/arch/sdl/kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ static log_t sdlkbd_log = LOG_ERR;
/* Hotkey filename */
char *hotkeys_buffer = NULL;

char *hotkeys_default_C64="208 Quit emulator|231 Autostart image|232 Gamebase64|233 Joyport settings&Toggle joystick port|234 Joyport settings&Toggle D-Pad joystick|235 Speed settings&Warp mode|236 Snapshot&Quickload snapshot.vsf|237 Snapshot&Quicksave snapshot.vsf|238 Drive&True drive emulation|239 Reset&Hard|240 Pause|241 Drive&Attach disk image to drive 8|242 Video settings&Enable Sprite-Sprite collisions|243 Misc&Power off bottom screen backlight|244 Keys and commands&Type Commands&Type 01|245 Keys and commands&Type Commands&Type 02|250 Video settings&Hide Border / Fullscreen";
char *hotkeys_default_C64="208 Gamebase64|231 Autostart image|233 Joyport settings&Toggle joystick port|234 Joyport settings&Toggle D-Pad joystick|235 Speed settings&Warp mode|236 Snapshot&Quickload snapshot.vsf|237 Snapshot&Quicksave snapshot.vsf|238 Drive&True drive emulation|239 Reset&Hard|240 Pause|241 Drive&Attach disk image to drive 8|242 Video settings&Enable Sprite-Sprite collisions|243 Misc&Power off bottom screen backlight|244 Keys and commands&Type Commands&Type 01|245 Keys and commands&Type Commands&Type 02|249 Joyport settings&Enable mouse|250 Video settings&Hide Border / Fullscreen";

char *hotkeys_default_C128="208 Quit emulator|231 Autostart image|232 Gamebase64|233 Joyport settings&Toggle joystick port|234 Speed settings&Warp mode|235 Reset&Hard|236 Snapshot&Quickload snapshot.vsf|237 Snapshot&Quicksave snapshot.vsf|238 Drive&True drive emulation|239 Misc&Power off bottom screen backlight|240 Video settings&Toggle VDC (80 cols)|241 Drive&Attach disk image to drive 8|242 Video settings&Enable Sprite-Sprite collisions|243 Video settings&Enable Sprite-Background collisions|244 Keys and commands&Type Commands&Type 01|245 Keys and commands&Type Commands&Type 02|248 Pause|250 Video settings&Hide Border / Fullscreen";
char *hotkeys_default_C128="208 Gamebase64|231 Autostart image|233 Joyport settings&Toggle joystick port|234 Speed settings&Warp mode|235 Reset&Hard|236 Snapshot&Quickload snapshot.vsf|237 Snapshot&Quicksave snapshot.vsf|238 Drive&True drive emulation|239 Misc&Power off bottom screen backlight|240 Video settings&Toggle VDC (80 cols)|241 Drive&Attach disk image to drive 8|242 Video settings&Enable Sprite-Sprite collisions|243 Video settings&Enable Sprite-Background collisions|244 Keys and commands&Type Commands&Type 01|245 Keys and commands&Type Commands&Type 02|248 Pause|249 Joyport settings&Enable mouse|250 Video settings&Hide Border / Fullscreen";

/* Menu keys */
int sdl_ui_menukeys[MENU_ACTION_NUM];
Expand Down
2 changes: 1 addition & 1 deletion source/common/arch/sdl/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ static const resource_int_t resources_int[] = {
&sdl_ui_menukeys[13], set_ui_menukey, (void *)MENU_ACTION_END },
{ "SaveResourcesOnExit", 0, RES_EVENT_NO, NULL,
&save_resources_on_exit, set_save_resources_on_exit, NULL },
{ "ConfirmOnExit", 1, RES_EVENT_NO, NULL,
{ "ConfirmOnExit", 0, RES_EVENT_NO, NULL,
&confirm_on_exit, set_confirm_on_exit, NULL },
{ "DriveLED", 1, RES_EVENT_NO, NULL,
&drive_led, set_drive_led, NULL },
Expand Down
2 changes: 1 addition & 1 deletion source/include/vice3ds.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <3ds.h>
#include <SDL/SDL.h>

#define KEYMAPPINGS_DEFAULT " c9 01d20000 cc 02010000 ce 02030000 d6 011e0000 d7 01110000 d8 011f0000 d9 011d0000 f6 01030000 f7 01200000 f8 010d0000 f9 01031900"
#define KEYMAPPINGS_DEFAULT " c9 01d20000 cc 02010000 ce 02030000 d6 011e0000 d7 01110000 d8 011f0000 d9 011d0000 e8 01031900 f6 01030000 f7 01200000 f8 010d0000"
#define HELPTEXT_MAX 256

typedef struct {
Expand Down

0 comments on commit 30b5243

Please sign in to comment.