0fe787c016 | ||
---|---|---|
.gitignore | ||
Makefile | ||
Readme.md | ||
button_tester.sh | ||
tester.c |
Readme.md
This is a very simple program designed to print key/button codes with SDL 1.2, intended for the RG35XX but potentially working on other systems
Requirements
- libSDL1.2
- SDL_ttf
- freetype2
Things you will need to change
- In the makefile:
- CROSS_COMPILE: Change to directory+prefix of toolchain
- XC_BUILD_DIR: Prefix where SDL 1.2, SDL_ttf, etc have been built under; probably needs to be absolute path
Things you might need to change
- In the makefile:
- DEFINES: Specifically changing the font path
- In
tester.c
- DISPLAY_W, DISPLAY_H: size of display
- FONT_SIZE: Bigger or smaller as needed
- JOYSTICK_QUIT_BUTTON: Button index on the joystick that needs to be pressed multiple times to quit
- KEYBOARD_QUIT_KEY: Keyboard quit key