GUI (D4D) touch a button

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GUI (D4D) touch a button

ソリューションへジャンプ
1,078件の閲覧回数
Thommi_Tulpe
Contributor IV

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

 

0 件の賞賛
1 解決策
846件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

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,

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
847件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

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,

0 件の賞賛
846件の閲覧回数
Thommi_Tulpe
Contributor IV

Thank You Luis, it works well.

 

Have a nice day.

 

Thomas

0 件の賞賛