cc jm.c -lxdo -lSDL2 -lm -o jm -O3
./jm
Only tested with an Xbox 360 Wireless Controller.
Default bindings:
- Left joystick - move cursor
- Right joystick - scroll
- A - left click
## An SDL2 wrapper using nimterop. | |
import os | |
import nimterop/build | |
import nimterop/cimport | |
const | |
Base = getProjectCacheDir("sdl2") |
cc jm.c -lxdo -lSDL2 -lm -o jm -O3
./jm
Only tested with an Xbox 360 Wireless Controller.
Default bindings: