Hello,
in the_Official_Demos Project I have to
first select a butten before it has an effect to touch the button.
So I have to touch every button twice. This is not good for a virtual keyboard
on the TWR-LCD.
What do I have to do that I must not first select the button?
Thanks
Solved! Go to Solution.
Hello Thommi,
In d4d_user_cfg.h
In the
/******************************************************************************
* Button Object
******************************************************************************/
section, define your button:
#define D4D_BTN_F_DEFAULT (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FOCUSRECT | D4D_OBJECT_F_FASTTOUCH)
Notice the last flag: D4D_OBJECT_F_FASTTOUCH
Best Regards,
Hello Thommi,
In d4d_user_cfg.h
In the
/******************************************************************************
* Button Object
******************************************************************************/
section, define your button:
#define D4D_BTN_F_DEFAULT (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_FOCUSRECT | D4D_OBJECT_F_FASTTOUCH)
Notice the last flag: D4D_OBJECT_F_FASTTOUCH
Best Regards,
Thank You Luis, it works well.
Have a nice day.
Thomas