TouchGFX keyboard with password
- October 22, 2024
- 3 replies
- 3469 views
Hello to all,I am working on a stm32h745i-disk project that uses keyboard and I would like to hide the characters in the password field.
how can I do it? i.e. I don't understand when you press a key on the keyboard where do you type so that it is shown above the keyboard before you hit ok and it is passed to the GUI with “Unicode::strncpy(ContrasenaBuffer, keyboard.getBuffer(), CONTRASENA_SIZE);”
The video guide I used was:
https://www.youtube.com/watch?v=Tkz9099a7a4
testing and trying to understand the keyboard related files I could only hide them once you hit ok and they show up in the GUI using two buffers where one is filled with “*”.
I would like to do something similar to the video (minute 5:38) https://www.youtube.com/watch?v=0--7qFmWZMQ
but in my touchGFX code and later add a button to show the password if I want to but I guess I can do that later if I can solve this.
I share my View.cpp and the keyboard thing.please ignore Login_inicioView::Validacion_usuario() as it is something for the future.
Thanks.
