[Question]Multifunction Button
Hi,I want to have two type of functionality in a single button:1. Simple Press => Selecting than button2. Long Press (Touch and Hold the button) => Display the setting menu.
How should I do that. Can you please send and example for this?Thank you.
你好,
我想在一个按钮中实现两种功能:
1. 简单按下 => 选择按钮
2. 长按(触摸并按住按钮) => 显示设置菜单。
我应该怎么做?你能发给我一个示例吗?
谢谢。 本帖最后由 lijiayan 于 2024-7-11 14:16 编辑
通过系统变量接口0X16判断长按短按 写程序或者主板发指令去做选择 或者显示设置菜单
【提问】系统变量接口0x16怎么用?
http://inforum.dwin.com.cn:20080 ... d=438&fromuid=24741
(出处: 迪文科技论坛)
【开源】基于T5L实现短按无动作,长按触发(比如切页)...
http://inforum.dwin.com.cn:20080/forum.php?mod=viewthread&tid=2951&fromuid=24741
(出处: 迪文科技论坛)
页:
[1]