You can use your FRDM-K64F device as a joypad.

Dependencies:   FXOS8700Q mbed

Check my repo for a compatible game using K64F. Currently works on Max OSX, can be implemented on Linux by changing Serial Port configuration.

Download repository: zip gz

Files at revision 1:cb4a1b11de74

Name Size Actions
[up]
FXOS8700Q.lib 61 Revisions Annotate
main.cpp 777 Revisions Annotate
mbed.bld 65 Revisions Annotate