Touch screen buttons

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Touch screen buttons

      I have implemented a small keyboard using the button widgets to insert letters inside an edit widget. I also implemented touch screen. Everything works fine but I have one problem: once selected, the buttons of the keyboard are not automatically unselected, so in order to insert the same letter twice in a row, I need to touch other parts of the screen between one selection and the following one.
      Does anyone know why this happens?
      Thanks
    • Hi,

      the easiest way might be to make the buttons non focusable.

      You can use BUTTON_SetFocusable() for this.

      Regards
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.