/third_party/mtdev/include/ |
D | mtdev-plumbing.h | 45 struct mtdev *mtdev_new(void); 55 int mtdev_init(struct mtdev *dev); 65 void mtdev_set_mt_event(struct mtdev *dev, int code, int value); 72 void mtdev_set_abs_minimum(struct mtdev *dev, int code, int value); 73 void mtdev_set_abs_maximum(struct mtdev *dev, int code, int value); 74 void mtdev_set_abs_fuzz(struct mtdev *dev, int code, int value); 75 void mtdev_set_abs_resolution(struct mtdev *dev, int code, int value); 87 int mtdev_configure(struct mtdev *dev, int fd); 102 int mtdev_fetch_event(struct mtdev *dev, int fd, struct input_event *ev); 116 void mtdev_put_event(struct mtdev *dev, const struct input_event *ev); [all …]
|
D | mtdev.h | 91 struct mtdev *mtdev_new_open(int fd); 106 int mtdev_open(struct mtdev *dev, int fd); 115 int mtdev_has_mt_event(const struct mtdev *dev, int code); 124 int mtdev_get_abs_minimum(const struct mtdev *dev, int code); 125 int mtdev_get_abs_maximum(const struct mtdev *dev, int code); 126 int mtdev_get_abs_fuzz(const struct mtdev *dev, int code); 127 int mtdev_get_abs_resolution(const struct mtdev *dev, int code); 138 int mtdev_idle(struct mtdev *dev, int fd, int ms); 160 int mtdev_get(struct mtdev *dev, int fd, struct input_event* ev, int ev_max); 169 void mtdev_close(struct mtdev *dev); [all …]
|
/third_party/mtdev/src/ |
D | caps.c | 50 static struct input_absinfo *get_info(struct mtdev *dev, int code) in get_info() 66 static void set_info(struct mtdev *dev, int code, in set_info() 73 static void default_fuzz(struct mtdev *dev, int code, int sn) in default_fuzz() 81 static int mtdev_set_slots(struct mtdev *dev, int fd) in mtdev_set_slots() 103 int mtdev_configure(struct mtdev *dev, int fd) in mtdev_configure() 145 int mtdev_has_mt_event(const struct mtdev *dev, int code) in mtdev_has_mt_event() 161 int mtdev_get_abs_minimum(const struct mtdev *dev, int code) in mtdev_get_abs_minimum() 163 const struct input_absinfo *abs = get_info((struct mtdev *)dev, code); in mtdev_get_abs_minimum() 167 int mtdev_get_abs_maximum(const struct mtdev *dev, int code) in mtdev_get_abs_maximum() 169 const struct input_absinfo *abs = get_info((struct mtdev *)dev, code); in mtdev_get_abs_maximum() [all …]
|
D | core.c | 40 const struct mtdev *dev) in istouch() 83 static void solve(struct mtdev_state *state, const struct mtdev *dev, in solve() 121 const struct mtdev *dev, in assign_tracking_id() 227 const struct mtdev *dev, in filter_data() 288 const struct mtdev *dev, in apply_typeA_changes() 331 const struct mtdev *dev, in convert_A_to_B() 349 struct mtdev *mtdev_new(void) in mtdev_new() 351 return calloc(1, sizeof(struct mtdev)); in mtdev_new() 354 int mtdev_init(struct mtdev *dev) in mtdev_init() 357 memset(dev, 0, sizeof(struct mtdev)); in mtdev_init() [all …]
|
D | Makefile.am | 6 $(top_srcdir)/include/mtdev-mapping.h \ 7 $(top_srcdir)/include/mtdev-plumbing.h \ 25 $(top_srcdir)/include/mtdev-mapping.h \ 26 $(top_srcdir)/include/mtdev-plumbing.h \ 27 $(top_srcdir)/include/mtdev.h
|
D | iobuf.c | 34 int mtdev_idle(struct mtdev *dev, int fd, int ms) in mtdev_idle() 41 int mtdev_fetch_event(struct mtdev *dev, int fd, struct input_event *ev) in mtdev_fetch_event() 63 int mtdev_empty(struct mtdev *dev) in mtdev_empty() 68 void mtdev_get_event(struct mtdev *dev, struct input_event* ev) in mtdev_get_event() 73 int mtdev_get(struct mtdev *dev, int fd, struct input_event* ev, int ev_max) in mtdev_get()
|
D | Makefile.in | 330 $(top_srcdir)/include/mtdev-mapping.h \ 331 $(top_srcdir)/include/mtdev-plumbing.h \ 347 $(top_srcdir)/include/mtdev-mapping.h \ 348 $(top_srcdir)/include/mtdev-plumbing.h \ 349 $(top_srcdir)/include/mtdev.h
|
D | common.h | 113 struct mtdev { struct
|
/third_party/mtdev/ |
D | README_zh.md | 1 # mtdev - Multitouch Protocol Translation Library 3 mtdev是一个独立的库,它将内核MT事件的所有变体转换为信号槽类型B协议。归为mtdev的事件可能来自任何MT设备,具体来说,包括无接触跟踪的TypeA设备、带接触跟踪的TypeA或带触点跟踪的T… 5 作为Multitouch X驱动程序的一部分,大部分mtdev代码自2008年以来就已经存在。通过此软件包,手指跟踪和无缝MT协议处理在免费许可下可用。 18 ## OpenHarmony如何集成mtdev 21 #include <mtdev.h> 25 public_deps += ["//third_party/mtdev:libmtdev"] 27 ### 3.调用mtdev函数过程举例 58 static void show_props(const struct mtdev *dev) 76 //创建mtdev,检查prop,获取并打印mt事件 79 struct mtdev dev; [all …]
|
D | README.md | 1 # mtdev - Multitouch Protocol Translation Library 3 The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted… 5 The bulk of the mtdev code has been out there since 2008, as part of the Multitouch X Driver. With … 18 ## How OpenHarmony integrates mtdev 21 #include <mtdev.h> 25 public_deps += ["//third_party/mtdev:libmtdev"] 27 ### 3.Example of calling mtdev function argument 58 static void show_props(const struct mtdev *dev) 76 //Create mtdev, check prop, get and print mt events 79 struct mtdev dev; [all …]
|
D | ChangeLog | 5 Release mtdev-1.1.6 44 mtdev-matching.c: declare global variables static 54 mtdev-mapgen.c: declare init_caps() static 74 Release mtdev-1.1.5 107 Release mtdev-1.1.4 137 mtdev-kernel.c:130:2: warning: implicit declaration of function ‘atoi’ 197 Release mtdev-1.1.3 205 Fix pc file to allow compiling with mtdev installed in non-std path. 208 compile with `pkg-config mtdev --cflags` when libmtdev is installed to 220 Release mtdev-1.1.2 [all …]
|
D | README | 1 mtdev - Multitouch Protocol Translation Library (MIT license) 3 The mtdev library transforms all variants of kernel MT events to the 4 slotted type B protocol. The events put into mtdev may be from any MT 9 http://bitmath.org/code/mtdev/
|
D | INSTALL | 1 mtdev - Multitouch Protocol Translation Library (MIT license) 12 sudo ./test/mtdev-test /dev/input/eventX 17 To install mtdev, do 21 By default, mtdev installs to /usr/local. To change, use the --prefix
|
D | README.OpenSource | 3 "Name":"mtdev", 8 …"Upstream URL":"https://repo.openeuler.org/openEuler-22.03-LTS-SP1/source/Packages/mtdev-1.1.6-3.o… 9 …"Description": "The mtdev library transforms all variants of kernel MT events to the slotted type …
|
D | configure.ac | 6 [mtdev]) 28 mtdev.pc])
|
D | mtdev.pc.in | 6 Name: mtdev name
|
D | Makefile.am | 4 pkgconfig_DATA = mtdev.pc
|
D | BUILD.gn | 38 part_name = "mtdev"
|
D | Makefile.in | 102 CONFIG_CLEAN_FILES = mtdev.pc 191 $(srcdir)/mtdev.pc.in $(top_srcdir)/config-aux/compile \ 360 pkgconfig_DATA = mtdev.pc 414 mtdev.pc: $(top_builddir)/config.status $(srcdir)/mtdev.pc.in
|
/third_party/mtdev/test/ |
D | Makefile.am | 1 noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel 2 bin_PROGRAMS = mtdev-test 6 mtdev_mapgen_SOURCES = mtdev-mapgen.c 8 mtdev_matching_SOURCES = mtdev-matching.c 11 mtdev_test_SOURCES = mtdev-test.c 14 mtdev_kernel_SOURCES = mtdev-kernel.c
|
D | Makefile.in | 91 noinst_PROGRAMS = mtdev-mapgen$(EXEEXT) mtdev-matching$(EXEEXT) \ 92 mtdev-kernel$(EXEEXT) 93 bin_PROGRAMS = mtdev-test$(EXEEXT) 106 am_mtdev_kernel_OBJECTS = mtdev-kernel.$(OBJEXT) 116 am_mtdev_mapgen_OBJECTS = mtdev-mapgen.$(OBJEXT) 119 am_mtdev_matching_OBJECTS = mtdev-matching.$(OBJEXT) 126 am_mtdev_test_OBJECTS = mtdev-test.$(OBJEXT) 147 am__depfiles_remade = ./$(DEPDIR)/mtdev-kernel.Po \ 148 ./$(DEPDIR)/mtdev-mapgen.Po ./$(DEPDIR)/mtdev-matching.Po \ 149 ./$(DEPDIR)/mtdev-test.Po [all …]
|
D | mtdev-test.c | 67 static void show_props(const struct mtdev *dev) in show_props() 87 struct mtdev dev; in loop_device()
|
/third_party/libinput/ |
D | BUILD.gn | 74 "//third_party/mtdev:libmtdev", 100 "//third_party/mtdev:libmtdev", 124 "//third_party/mtdev:libmtdev", 148 "//third_party/mtdev:libmtdev",
|
/third_party/libinput/src/ |
D | evdev.c | 1066 if (!device->mtdev) { in evdev_device_dispatch_one() 1069 mtdev_put_event(device->mtdev, ev); in evdev_device_dispatch_one() 1071 while (!mtdev_empty(device->mtdev)) { in evdev_device_dispatch_one() 1073 mtdev_get_event(device->mtdev, &e); in evdev_device_dispatch_one() 2346 device->mtdev = NULL; in evdev_device_create() 2666 if (device->mtdev) in evdev_device_get_touch_count() 2890 if (device->mtdev) { in evdev_device_suspend() 2891 mtdev_close_delete(device->mtdev); in evdev_device_suspend() 2892 device->mtdev = NULL; in evdev_device_suspend() 2936 device->mtdev = mtdev_new_open(device->fd); in evdev_device_resume() [all …]
|
/third_party/libinput/test/ |
D | valgrind.suppressions | 11 mtdev:conditional_jumps_uninitialized_value
|