You can use your FRDM-K64F device as a joypad.
Check my repo for a compatible game using K64F. Currently works on Max OSX, can be implemented on Linux by changing Serial Port configuration.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
1:cb4a1b11de74 | 2016-02-24 | Added 5 way Joystick support. (configured for horizontal use) | File Diff Annotate |
0:9c531a8dcb06 | 2016-02-24 | If poked via Serial, it displays the current state of the accelerometer.; Uses sleep and interrupt to save energy. | File Diff Annotate |