Skip to main content
ALomb.1
Associate III
February 23, 2021
Solved

Manage "Keyboard Example" with joystick

  • February 23, 2021
  • 7 replies
  • 2179 views

On X-NUCLEO-GFX01M1 I would need to manage the on-screen keyboard because LCD is not touch.

I have successfully ported keyboard example from designer to hardware (X-NUCLEO-GFX01M1 on NUCLEO-G071).

Is it possible to add support for the keypad or is it better to write a new one?

If so, what do you think?

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

In the post you linked, KM L.1 refers to this post where Alexandre shared an example that can help you called "Keyboard Joystick".

Hope this helps.

/Romain

7 replies

ALomb.1
ALomb.1Author
Associate III
February 23, 2021

Searching in the community I found this post, but unfortunately the solution was not shown :relieved_face:.

@KM L.1​ can you show how you solved ?

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
February 23, 2021

Hi,

In the post you linked, KM L.1 refers to this post where Alexandre shared an example that can help you called "Keyboard Joystick".

Hope this helps.

/Romain

ALomb.1
ALomb.1Author
Associate III
February 23, 2021

Thank you @Romain DIELEMAN​ .

I downloaded and adapted @Alexandre RENOUX​'s code and everything works as expected :grinning_face: !

The next step is to add the ENTER key to the keyboard to take what has been entered.

I imagine a scenario in which, again by joystick, I select a field (TextArea widget for example). When the joystick is pressed ('5'), the keyboard is shown, the user enters the text and when the ENTER key is selected, the keyboard disappears and the entered text is written in the selected field.

How to implement? Tips?

ALomb.1
ALomb.1Author
Associate III
February 24, 2021

I @Romain DIELEMAN​,

about my last questions searching in the community I found this post that, I think, it is a common problem in all those scenarios where touch is not present!

Is it possible to have an example from which to start ?

/Antonello

Romain DIELEMAN
ST Employee
February 24, 2021

I am not sure I fully get it, what you are looking for is a project where the buttons are used with a TouchGFX project ? If yes, you can have a look at the "STM32G071 nucleo demo" found in TouchGFX Designer when creating a project, in the "Online Applications" section.

0693W000007ZLQ3QAO.png/Romain

ALomb.1
ALomb.1Author
Associate III
March 1, 2021

I @Romain DIELEMAN​ ,

I succeeded in my intent.

Thanks for the support!

Romain DIELEMAN
ST Employee
March 2, 2021

Good to hear that :ok_hand:

/Romain