Skip to main content
Loppi
Associate III
November 2, 2022
Question

Hardware button control of custom keyboard

  • November 2, 2022
  • 1 reply
  • 2249 views

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

Loppi
LoppiAuthor
Associate III
November 8, 2022

Still working on this ...

Explorer
October 16, 2024

Hello did you find a solution plz ?

Andrew Neil
Super User
October 16, 2024
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.