adafruit / Adafruit-Retrogame

Raspberry Pi GPIO-to-virtual-keyboard utility for classic game emulators
https://learn.adafruit.com/retro-gaming-with-raspberry-pi
355 stars 123 forks source link

use input-event-codes.h if it exists #50

Open daveho opened 6 years ago

daveho commented 6 years ago

As of current (December 2017) Raspbian, the key codes are in /usr/include/linux/input-event-codes.h. This change modifies the Makefile to use this file if it is present.