Re: [beagleboard] Map gpio button to a combination of keyboard keys in device tree or otherwise

28 views
Skip to first unread message

William Hermans

unread,
Mar 22, 2017, 1:43:02 PM3/22/17
to beagl...@googlegroups.com
If you're not running X, go up a bit to the console explanation, and follow that to get your key combination number.

So there are a couple ways to get this number, You hook up a keyboard to the beaglebone, through the USB port( temporarily ), do as the link describes to "trap" the specific keycode for the key combo you want. Or do the same on an X86 Linux based system to do the same. The later here may, or may not work.

On Wed, Mar 22, 2017 at 9:29 AM, Gaurav S <gaurav....@gmail.com> wrote:
Hello,
 I am using the 4G 4inch LCD. I mapped one of the GPIO pins to TAB key in the device tree by modifying the "linux,code" in the device tree. I would like to map a second GPIO pin to SHIFT + TAB combination. However, the documentation (http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/input/gpio-keys.txt) does not specify how to achieve this. Any suggestions will be appreciated? I am wondering if I actually need to write a driver to map sequence of keys?

Thanks
Gaurav

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4879e2e3-7616-471c-aad6-141eea88ca05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages