Skip to main content
ORaph.1
Associate II
September 11, 2020
Question

I need to make a custom keypad Gui using TouchGFX need to pass every value in the keypad button to a texteditor.

  • September 11, 2020
  • 5 replies
  • 2183 views

i am using STM32F746G-Disco board for this GUI.i need to display every button values in the text editor.

eg: if i enter keys of 12345 continusly should display 12345 in text editor not 1 when click 1 and 2 when click 2 like that.

5 replies

Alexandre RENOUX
Visitor II
September 14, 2020

Hello,

Have you looked at the Keyboard Example available in TouchGFX Designer ?

/Alexandre

ORaph.1
ORaph.1Author
Associate II
September 14, 2020

hi Alexandre,

i have looked that one, its an qwerty keypad.what i need for my application is just keypad with numbers,backspace and enter button.

Alexandre RENOUX
Visitor II
September 15, 2020

Then, you can modify it and match what you are looking for. Please look at CustomKeyboard.hpp/.cpp files, KeyboardKeyMapping.hpp and KeyboardLayout.hpp.

/Alexandre

ORaph.1
ORaph.1Author
Associate II
September 15, 2020

from where i will get these( CustomKeyboard.hpp/.cpp files, KeyboardKeyMapping.hpp and KeyboardLayout.hpp) files...

Alexandre RENOUX
Visitor II
September 15, 2020

Don't you have a file search feature in any of your editors ? If not, I definitely recommend you to install Visual Studio Code. Your life will be much easier ;)

C:\TouchGFXProjects\<project_name>\gui\src\common\CustomKeyboard.cpp

C:\TouchGFXProjects\<project_name>\gui\include\gui\common\CustomKeyboard.hpp

C:\TouchGFXProjects\<project_name>\gui\include\gui\common\KeyboardKeyMapping.hpp

C:\TouchGFXProjects\<project_name>\gui\include\gui\common\KeyboardLayout.hpp

This is considering your project is based on the Keyboard Example UI.

/Alexandre

BParh.1
Senior III
August 18, 2021

Hi @ORaph.1​  so have you manage to achieve this? I am interested to do the same thing

FJB2069
Senior
November 20, 2024

I am looking to do the same "KEYPAD", any help on how to modify the KEYBOARD example would be appreciated