Home
last modified time | relevance | path

Searched refs:uinput (Results 1 – 25 of 32) sorted by relevance

12

/third_party/libinput/test/
Dtest-device.c854 struct libevdev_uinput *uinput; in START_TEST() local
857 uinput = litest_create_uinput_device("test device", NULL, in START_TEST()
866 libevdev_uinput_get_devnode(uinput)); in START_TEST()
873 libevdev_uinput_destroy(uinput); in START_TEST()
882 struct libevdev_uinput *uinput; in START_TEST() local
886 uinput = litest_create_uinput_device("test device", NULL, in START_TEST()
894 libevdev_uinput_get_devnode(uinput)); in START_TEST()
899 libevdev_uinput_destroy(uinput); in START_TEST()
905 struct libevdev_uinput *uinput; in START_TEST() local
909 uinput = litest_create_uinput_device("test device", NULL, in START_TEST()
[all …]
Dtest-path.c229 struct libevdev_uinput *uinput; in START_TEST() local
235 uinput = litest_create_uinput_device("test device", NULL, in START_TEST()
250 libevdev_uinput_get_devnode(uinput)); in START_TEST()
255 libevdev_uinput_destroy(uinput); in START_TEST()
271 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
435 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
512 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
542 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
568 struct libevdev_uinput *uinput; in START_TEST() local
572 uinput = litest_create_uinput_device("test device", NULL, in START_TEST()
[all …]
Dtest-misc.c56 struct libevdev_uinput *uinput; in create_simple_test_device() local
87 &uinput); in create_simple_test_device()
91 return uinput; in create_simple_test_device()
96 struct libevdev_uinput *uinput; in START_TEST() local
101 uinput = create_simple_test_device("litest test device", in START_TEST()
110 libinput_path_add_device(li, libevdev_uinput_get_devnode(uinput)); in START_TEST()
148 libevdev_uinput_destroy(uinput); in START_TEST()
604 struct libevdev_uinput *uinput; in START_TEST() local
611 uinput = create_simple_test_device("litest test device", in START_TEST()
618 path = libevdev_uinput_get_devnode(uinput); in START_TEST()
[all …]
Dlitest.c1662 d->uinput = litest_create_uinput_device_from_description(name, in litest_create()
1683 path = libevdev_uinput_get_devnode(d->uinput); in litest_create()
1784 path = libevdev_uinput_get_devnode(d->uinput); in litest_add_device_with_overrides()
1924 libevdev_uinput_get_syspath(d->uinput)); in litest_delete_device()
1940 libevdev_uinput_destroy(d->uinput); in litest_delete_device()
1964 ret = libevdev_uinput_write_event(d->uinput, type, code, value); in litest_event()
3360 struct libevdev_uinput *uinput; in litest_create_uinput() local
3414 &uinput); in litest_create_uinput()
3423 devnode = libevdev_uinput_get_devnode(uinput); in litest_create_uinput()
3455 return uinput; in litest_create_uinput()
[all …]
Dtest-switch.c209 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
254 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
743 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
792 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
802 libevdev_uinput_get_devnode(sw->uinput)); in START_TEST()
804 libevdev_uinput_get_devnode(keyboard->uinput)); in START_TEST()
871 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
Dlitest-device-keyboard-all-codes.c69 d->uinput = litest_create_uinput_device_from_description(NAME, in all_codes_create()
Dtest-totem.c153 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST()
209 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST()
414 devnode = libevdev_uinput_get_devnode(dev->uinput); in START_TEST()
Dtest-touchpad-buttons.c2060 struct libevdev_uinput *uinput; in START_TEST() local
2078 uinput = litest_create_uinput_abs_device("litest NonClickpad", in START_TEST()
2088 libevdev_uinput_get_devnode(uinput)); in START_TEST()
2096 libevdev_uinput_destroy(uinput); in START_TEST()
Dtest-keyboard.c135 libevdev_uinput_get_devnode(dev->uinput)); in START_TEST()
Dlitest.h383 struct libevdev_uinput *uinput; member
/third_party/libinput/tools/
Dlibinput-replay.py67 def check_udev_properties(yaml_data, uinput): argument
86 udev_device = pyudev.Devices.from_device_file(context, uinput.devnode)
148 uinput = d.create_uinput_device()
150 check_udev_properties(device, uinput)
152 return uinput
196 uinput = device["__uinput"]
225 uinput.send_events(evs)
227 print_events(uinput.devnode, device["__index"], evs)
261 uinput = create(d)
262 print("{}: {}".format(uinput.devnode, uinput.name))
[all …]
Dlibinput-replay97 uinput = d.create_uinput_device()
98 return uinput
112 uinput = device['__uinput']
139 uinput.send_events(evs)
141 print_events(uinput.devnode, device['__index'], evs)
175 uinput = create(d)
176 print('{}: {}'.format(uinput.devnode, uinput.name))
177 d['__uinput'] = uinput # cheaper to hide it in the dict then work around it
/third_party/libevdev/libevdev/
DMakefile.am10 libevdev-uinput.c \
11 libevdev-uinput.h \
12 libevdev-uinput-int.h \
16 ../include/linux/uinput.h \
19 ../include/linux/@OS@/uinput.h
30 libevdevinclude_HEADERS = libevdev.h libevdev-uinput.h
DMakefile.in138 am_libevdev_la_OBJECTS = libevdev-uinput.lo libevdev.lo \
164 ./$(DEPDIR)/libevdev-uinput.Plo ./$(DEPDIR)/libevdev.Plo
359 libevdev-uinput.c \
360 libevdev-uinput.h \
361 libevdev-uinput-int.h \
365 ../include/linux/uinput.h \
368 ../include/linux/@OS@/uinput.h
378 libevdevinclude_HEADERS = libevdev.h libevdev-uinput.h
462 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libevdev-uinput.Plo@am__quote@ # am--include-marker
655 -rm -f ./$(DEPDIR)/libevdev-uinput.Plo
[all …]
/third_party/libevdev/test/
DMakefile.in121 @ENABLE_RUNTIME_TESTS_TRUE@ test-uinput$(EXEEXT) \
139 test-event-names.c test-context.c test-common-uinput.c \
140 test-common-uinput.h test-common.c test-common.h
142 @ENABLE_RUNTIME_TESTS_TRUE@ test-common-uinput.$(OBJEXT) \
160 test-common-uinput.c test-common-uinput.h test-common.c \
162 @ENABLE_RUNTIME_TESTS_TRUE@am__objects_2 = test_kernel-test-common-uinput.$(OBJEXT) \
177 test-common-uinput.c test-common-uinput.h test-common.c \
193 test-int-queue.c test-common-uinput.c test-common-uinput.h \
221 am__test_uinput_SOURCES_DIST = test-main.c test-uinput.c \
222 test-common-uinput.c test-common-uinput.h test-common.c \
[all …]
DMakefile.am30 test-uinput \
42 test-common-uinput.c \
43 test-common-uinput.h \
69 test-uinput.c \
/third_party/libevdev/
Dmeson.build43 uinput_h = join_paths(meson.source_root(), 'include', 'linux', host_machine.system(), 'uinput.h')
56 'libevdev/libevdev-uinput.h',
63 'libevdev/libevdev-uinput.c',
64 'libevdev/libevdev-uinput.h',
65 'libevdev/libevdev-uinput-int.h',
69 'include/linux/uinput.h',
152 'test/test-common-uinput.c',
153 'test/test-common-uinput.h',
178 test_uinput = executable('test-uinput',
180 'test/test-uinput.c',
[all …]
DBUILD.gn27 "libevdev/libevdev-uinput.c",
Dthird_party_libevdev.diff17084 +@HAVE_DOXYGEN_TRUE@ $(top_srcdir)/libevdev/libevdev-uinput.h
18461 <title>libevdev: uinput device creation</title>
18486 <p>Creation of uinput devices based on existing libevdev devices. </p>
18487 …<p>These functions help to create uinput devices that emulate libevdev devices. In the simplest fo…
18517 …d int code, int value)</div><div class="ttdoc">Post an event through the uinput device.</div></div>
18518 …uinput *uinput_dev)</div><div class="ttdoc">Destroy a previously created uinput device and free as…
18519 …d, struct libevdev_uinput **uinput_dev)</div><div class="ttdoc">Create a uinput device based on th…
18531 …ss="ttdoc">let libevdev open and close /dev/uinput</div><div class="ttdef"><b>Definition:</b> libe…
18538 <p>Return the syspath representing this uinput device. </p>
18541 …748b08561e2819fe9b7c2d2" title="Return the device node representing this uinput device.">libevdev_…
[all …]
/third_party/libinput/doc/user/
Dtest-suite.rst20 .. note:: The test suite relies on udev and the kernel, specifically uinput.
52 uinput devices created by the test suite are usually recognised by X as
66 Most tests require the creation of uinput devices and access to the
133 The "no device" entry signals that litest does not instantiate a uinput
Dincorrectly-enabled-hires.rst19 software used to create user-space devices through uinput.
/third_party/libevdev/doc/
Dlibevdev.doxygen.in11 @top_srcdir@/libevdev/libevdev-uinput.h
DMakefile.am9 $(top_srcdir)/libevdev/libevdev-uinput.h
DMakefile.in303 @HAVE_DOXYGEN_TRUE@ $(top_srcdir)/libevdev/libevdev-uinput.h
/third_party/ltp/docparse/
DREADME.md147 /* Tests needs uinput either compiled in or loaded as a module */
149 "uinput",
189 "uinput",

12