Commit Graph

59 Commits

Author SHA1 Message Date
jianglianfang
79b3bf1265 feat(nuttx): add indev cursor display (#7021)
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2024-10-16 11:40:54 +02:00
VIFEX
a89cda10c1 feat(profiler): support different module divisions (#6834)
Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: liuhongchao <liuhongchao@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-09-18 17:59:45 +08:00
Niklas Fiekas
651f69fd47 feat(indev): detect double and triple click (closes #6020) (#6187) 2024-09-12 09:27:25 +02:00
Gabor Kiss-Vamosi
40592ddb9d fix(indev): don't wait until release when a new object is found (#6831) 2024-09-12 09:26:50 +02:00
yushuailong
d028a970a0 fix(indev): fix LV_EVENT_SCROLL_THROW_BEGIN not send to scroll_obj (#6693)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2024-08-26 09:54:54 +02:00
Mike Trzaska
8d8b279638 feat(indev): add scroll_time and scroll_throw setter (#6723) 2024-08-23 14:25:43 +08:00
yushuailong
d2545c3ecf fix(indev): fix indev not send gesture event (#6676)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2024-08-14 10:13:00 +08:00
VIFEX
491b899c14 fix(indev): swap the order of sending indev events and obj events (#6636)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-08-14 10:12:38 +08:00
Antoine Villeret
90cfb6c61b feat(indev): add long press time setter (#6664) 2024-08-13 10:20:15 +08:00
Pavi92
83582f6a3a fix(arc): add missing private include (#6648)
Co-authored-by: liamHowatt <liamjmh0@gmail.com>
2024-08-12 14:54:42 +02:00
Liam
1d14386b99 refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names (#6068)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-08-02 07:46:42 +02:00
Josh Soref
df0d36f02a chore: fix spelling (#6401)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-06-28 09:09:23 +02:00
Niklas Fiekas
2d4dd3ba1b fix(display): cancelled screen animation may block input indefinitely (#6277) 2024-05-31 00:35:19 +02:00
Samuel
67fad672e3 feat(hover): add Hover support for pointer device. (#5947)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-05-02 18:23:35 +02:00
Lexi Beavil
76df54db5a fix(encoder): always fire LV_EVENT_LONG_PRESSED to indev callback (#6064) 2024-04-17 12:19:13 +02:00
Gabor Kiss-Vamosi
54f9003722 feat(indev) Add crown support to pointer input device (#5057) 2024-03-19 10:10:28 +08:00
qinshijing
7182aa2560 fix(indev): Fix scroll obj cannot be cleared when waiting until release (#5833)
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2024-03-17 20:19:13 +08:00
Gabor Kiss-Vamosi
d7704b6ed8 fix(indev): always save the last key (#5795) 2024-03-12 15:50:01 +08:00
Gabor Kiss-Vamosi
ac518088e9 fix(draw): fix the invalidation of scaled areas (#5548) 2024-03-04 10:53:00 +08:00
Stephan Wirth
6c6085aeb4 fix(indev): fix variable name in preprocessor warning (#5637) 2024-02-12 22:46:50 +08:00
Carlos Diaz
e653e26bf8 More chore work in indev files (#5604) 2024-02-07 12:11:24 +08:00
Carlos Diaz
26e29c13f5 chore(indev): Cleanup before working in double and triple click support (#5512) 2024-01-29 12:30:36 +08:00
Gabor Kiss-Vamosi
0a0f4b484d refactor(driver): rename dev to drivers + Arduino update (#5377) 2024-01-18 14:29:39 +01:00
Gabor Kiss-Vamosi
3883b61a7d refactor(anim): rename ready_cb to completed_cb (#5378) 2024-01-18 11:07:29 +01:00
bjsylvia
1881ef22d2 feat(indev): in event-driven mode,needn't continue_reading (#5363)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2024-01-18 10:35:08 +01:00
bjsylvia
751bc99b98 fix(indev): use lv_anim_delete to delete scroll_throw_anim (#5324)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2024-01-15 11:38:13 +01:00
bjsylvia
e916de1e9d chore(indev): support lv_indev_get_mode (#5186)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2024-01-14 13:51:55 +01:00
Ju1He1
ed2056b620 feat(windows): add some more decls spec attributes (#5259) 2024-01-14 13:50:23 +01:00
Gabor Kiss-Vamosi
e10f573150 fix(display): fix inconsistency in the API (#5136) 2024-01-11 13:38:24 +08:00
Neo Xu
f43f5f74b5 chore(indev): duplicate statements removed (#5194)
Co-authored-by: cnjhb <hikariz@qq.com>
2024-01-05 08:10:55 +01:00
jianglianfang
16b15b843d lvgl:add lv_display_remove_event_cb_with_user_data (#4998)
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2023-12-26 10:36:57 +08:00
bjsylvia
94f0b8eaa0 feat(indev): add lv_indev_set_mode to switch input device's event model (#4949)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-12-20 09:35:14 +01:00
jianglianfang
ebcdb26e29 fix(indev): change LV_EVENT_LONG_PRESSED to code (#5000)
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2023-12-13 15:48:57 +01:00
Neo Xu
e8d5594026 refactor(anim): rename anim time to anim duration (#4978)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 12:35:22 +01:00
Neo Xu
8094cd1acb feat(indev): add API to remove polling timer (#4891)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-30 13:08:22 +01:00
bjsylvia
688fdd0dd6 feat(indev): support lv_indev_get_read_cb (#4894)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-30 09:49:32 +01:00
Gabor Kiss-Vamosi
f0988b8cf8 refactor(event): add _cb postfix to lv_obj_add_event() 2023-11-28 15:36:51 +01:00
bjsylvia
afda43b037 feat(indev): start scroll_throw animation using lv_anim_start (#4827)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-22 20:15:03 +01:00
Gabor Kiss-Vamosi
235d580a51 refactor: rename cnt to count 2023-11-15 22:42:33 +01:00
bjsylvia
69d65257bb feat(sdl): support indev LV_EVENT_DELETE (#4792)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-14 08:26:28 +01:00
Gabor Kiss-Vamosi
d74f660d9a verify code formtting 2023-11-13 22:19:40 +01:00
Gabor Kiss-Vamosi
2fe80e0aa1 feat(indev): make indevs event based 2023-11-13 19:46:31 +01:00
Viktor Szépe
cc6581ae03 ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Gabor Kiss-Vamosi
16302e9c7b chore: rename zoom_x/y paramters and local variables to scale_x/y 2023-10-31 20:19:12 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
50d01cec3d refactor(style): rename lv_indev_get_act to lv_indev_active 2023-10-31 19:20:36 +01:00
Gabor Kiss-Vamosi
85798af3cd feat(draw): add non uniform scale (scale_x and scale_y) 2023-10-20 23:29:22 +02:00
Gabor Kiss-Vamosi
9ec5417dd3 refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state 2023-10-12 21:12:16 +02:00
PGNetHun
8c2fc7ec4b chore: code and documentation cleanups, renames and fixes (#4607) 2023-09-27 12:23:40 +02:00
Carlos Diaz
c6ab5021cf feat(indev): discard input events on disabled objects (#4547) 2023-09-21 22:05:20 +02:00