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.

Committer:
co838_gtvl2
Date:
Wed Feb 24 20:40:54 2016 +0000
Revision:
1:cb4a1b11de74
Parent:
0:9c531a8dcb06
Added 5 way Joystick support. (configured for horizontal use)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
co838_gtvl2 0:9c531a8dcb06 1 http://mbed.org/users/JimCarver/code/FXOS8700Q/#5553a64d0762