paul- wrote: 
> 
> 
> I think I would look at the gpio-key overlay.....

This works very nicely.  I edited config.txt in the mmcblk0p1 partition
to include these lines in the Custom Configuration Area at the end:


Code:
--------------------
    #Custom Configuration Area, for config settings that are not managed by pCP.
  #pCP will retain these settings during insitu-update
  #---Begin-Custom-(Do not alter Begin or End Tags)-----
  dtoverlay=gpio-key,gpio=23,keycode=108 # KEY_DOWN
  dtoverlay=gpio-key,gpio=12,keycode=103 # KEY_UP
  dtoverlay=gpio-key,gpio=25,keycode=105 # KEY_LEFT
  dtoverlay=gpio-key,gpio=22,keycode=106 # KEY_RIGHT
  #---End-Custom----------------------------------------
--------------------


The keycodes came from 'here'
(https://github.com/torvalds/linux/blob/v4.12/include/uapi/linux/input-event-codes.h#L64).
This configured four of my buttons to give me the basic arrow keys,
which is all that's really needed to navigate Jivelite.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110821

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to