picoloop
picoloop copied to clipboard
Configuration file for keyboard on pc
Today, the keyboard is defined in "Master.h". You have to modify the keyborad shortcut by hand. A configuration file has to be created to allow the user to define the shortcut.
define BUTTON_B SDLK_LALT
define BUTTON_A SDLK_LCTRL
define BUTTON_X SDLK_SPACE
define BUTTON_Y SDLK_LSHIFT
define BUTTON_UP SDLK_UP
define BUTTON_DOWN SDLK_DOWN
define BUTTON_LEFT SDLK_LEFT
define BUTTON_RIGHT SDLK_RIGHT
define BUTTON_SELECT SDLK_ESCAPE
define BUTTON_START SDLK_RETURN
define BUTTON_L SDLK_TAB
define BUTTON_R SDLK_BACKSPACE
define KEYPRESSED SDL_KEYDOWN
define KEYRELEASED SDL_KEYUP
this problem is in master branch and picoloop-0.67