liuhongchao
eb555f070b
getevent: fix warnings and minor improvements
...
1 fix warning assignment discards 'volatile' qualifier from pointer target type
2 add errno logging
3 malloc change to calloc
Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
2026-04-20 15:20:25 +08:00
tengshuangshuang
9fdcd0f3ae
getevent:fix warning
...
getevent/getevent.c: In function 'read_touch_event':
getevent/getevent.c:45:23: error: format '%d' expects argument of type 'int',
but argument 3 has type 'int32_t' {aka 'long int'} [-Werror=format=]
getevent/getevent.c:194:7: note: in expansion of macro 'GETEVENT_INFO'
cc1: all warnings being treated as errors
Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
2026-04-20 15:20:20 +08:00
liuhongchao
4ad1550234
apps/graphics: Add getevent input tool
...
Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
2026-04-20 15:19:46 +08:00
buxiasen
b08fcd8515
graphic/input: use PRId32 replace %d fix warning
...
uint32_t not compatible with %d.
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2026-04-20 15:19:36 +08:00
liuchan3
210d1e1666
graphics/input: Adjust input tool priority and sampling rate
...
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
2026-04-20 15:19:12 +08:00
liuchan3
6a937f23e1
graphics/input: Fix the problem that REMOVE_ITEM dose not take effect in CMakeLists
...
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
2026-04-20 15:19:11 +08:00
Zhe Weng
feae14bd91
graphics/input: Filter out input tool command source from library
...
Avoid build warnings.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:19:10 +08:00
liuchan3
dd0ab0ae83
apps/graphics: Refactor the input tool using input generator library
...
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
2026-04-20 15:19:10 +08:00
liuchan3
7c9fd3db44
apps/graphics: Refactor monkey using input generator library
...
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
2026-04-20 15:19:10 +08:00
Zhe Weng
f350946040
graphics/input: Add input_gen_fill_point interface for generator
...
Also change some typos of generator.
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:19:10 +08:00
Zhe Weng
0d6772bb56
apps/system: Move input/monkey to apps/graphics/input
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:19:10 +08:00
Zhe Weng
3aeaca892b
apps/graphics: Add input generator library
...
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:19:10 +08:00