Skip to main content
ORaph.1
Associate II
Sep 11, 2020 12:47 PM UTC
Question

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

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.

This topic has been closed for replies.

8 replies

Alexandre RENOUX
Visitor II
Sep 14, 2020 6:14 AM UTC

Hello,

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

/Alexandre

ORaph.1
ORaph.1Author
Associate II
Sep 14, 2020 5:51 PM UTC

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
Sep 15, 2020 11:14 AM UTC

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
Sep 15, 2020 12:43 PM UTC

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

Alexandre RENOUX
Visitor II
Sep 15, 2020 12:48 PM UTC

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
Aug 18, 2021 6:27 AM UTC

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

FJB2069
Senior
Nov 20, 2024 9:28 PM UTC

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