cancel
Showing results for 
Search instead for 
Did you mean: 

How to create numeric keypad?

BParh.1
Senior III

I know TouchGFX provide a template for keyboard, but the layout is far from what I need. What I need is something like our typical numeric keypad in our standard PC keyboard ( the one on right hand side).

When I take a look the sample code, it seems not trivial, there are 3 cpp/hpp files that I can see. Can someone give me pointer how to proceed?

If there is a ready sample would be great, if not please advice me which files need to be modified. Or maybe I can break down my questions:

  1. Which files to modify to change the keyboard layout into numeric keypad?
  2. Which pad need to modify to change the keyboard text screen depending on which button triggering the keyboard?

I recommend ST make a sample demo for this as this is very typical usage and there would be many developers looking for it

10 REPLIES 10
Ggrft.1
Associate

I made a custom container which has comparable layout but extra keys for decimal separator, +/- and backspace and clean page. For each key, in interactions I described a virtual feature, e.g. GoKey1.