paul- wrote: > I think I would look at the gpio-key overlay.....
Thanks, I've managed to get a few buttons working using the gpio-key overlay, it's working great for the buttons. I do have a rotary-encoder also, and there seems to be rotary_encoder kernel module also, documented 'here' (https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/README), once I get the module added it won't emulate a keyboard however so I may have to tinker with jivelite a little in order for it to see the encoder. Even just having the buttons working for now it great however. :) chill wrote: > I added a couple more 'convenience' functions to use up all six buttons > on my button board: > Thanks, the examples are big help. I'll add a few extra I'm using also: Code: -------------------- dtoverlay=gpio-key,gpio=12,keycode=57 # KEY_SPACE - play/pause dtoverlay=gpio-key,gpio=26,keycode=16 # Q - power on/off -------------------- So far so good and seems for more responsive than sbpd too. ------------------------------------------------------------------------ TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197 View this thread: http://forums.slimdevices.com/showthread.php?t=110821 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
