cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware button control of custom keyboard

Loppi
Associate III

I use the MyButtonController function described in the "hardware button is clicked" tutorial to control the GUI on a 320x240 display. So far the buttons are limited to a control pad and the user button of the DISCO board (up, down, left, right, user button). Now I want to integrate a hardware button control of the keyboard using the TouchGFX example Custom Keyboard. Basically the keyboard display works but I struggle to control it with hardware buttons.

My question is, how can I use the hardware buttons to select the currently selected key on the keyboard and set it as highlighted? Does it make sense to use a matrix that reflects the keyboard layout and set the keyboard key based on the corresponding matrix position (x, y)?

Tips are highly appreciated!

1 REPLY 1
Loppi
Associate III

Still working on this ...