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!

3 REPLIES 3
Loppi
Associate III

Still working on this ...

Hello did you find a solution plz ?

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&location=category:stm32-mcus&q=hardware%20and%20button

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.