My "sense hat" sits ontop of a raspberry pi 3. I've completed the installation instructions found at https://www.raspberrypi.org/documentation/hardware/sense-hat/
lexu:~> sudo apt-get update
lexu:~> sudo apt-get install sense-hat
lexu::~> cp /usr/src/sense-hat/examples ~/ -a
lexu:~> sudo reboot
But when I try to run the 'snake' example, I get a 'Event device not found." - error. Apparently the "joystick" can't be found/read from. Here's the relevant c-code:
evpoll.fd = open_evdev("Raspberry Pi Sense HAT Joystick");
if (evpoll.fd < 0) {
fprintf(stderr, "Event device not found.\n");
return evpoll.fd;
}