Commit graph

  • f456a9dce4 test: use new convenience function for uinput device creation Peter Hutterer 2013-06-29 18:19:50 +10:00
  • baf248fa4a test: move device creation into a shared function Peter Hutterer 2013-06-29 18:09:28 +10:00
  • f9532700bc test: provide uinput convenience function for varargs Peter Hutterer 2013-06-29 18:10:01 +10:00
  • a30f4cfa8a test: prepare a common header file for all tests Peter Hutterer 2013-06-29 17:57:31 +10:00
  • 6e5fc880c9 test: add tests for device bit manipulation Peter Hutterer 2013-06-29 17:28:49 +10:00
  • 5bdd321d43 Return -1 for failing to enable/disable bits Peter Hutterer 2013-06-29 17:34:32 +10:00
  • cbb2d1391b tools: add a tool to build and publish the documentation Peter Hutterer 2013-06-28 13:18:28 +10:00
  • 20fb3fc875 test: close the right pipe fds Peter Hutterer 2013-06-28 13:15:27 +10:00
  • e8f059f235 test: fix a bunch of memory leaks Peter Hutterer 2013-06-28 13:13:55 +10:00
  • 6374dcf532 test: fix valgrind complaint about uninitialized bytes Peter Hutterer 2013-06-28 13:13:15 +10:00
  • 6482f9ad2a Add a FIXME to log a warning message Peter Hutterer 2013-06-28 12:51:16 +10:00
  • 9ddd477f62 test: add test case for button deltas after SYN_DROPPED Peter Hutterer 2013-06-28 11:24:13 +10:00
  • bc285acd9a Add a flag for forcing a SYN_DROPPED event Peter Hutterer 2013-06-28 10:18:35 +10:00
  • d844e3eb51 Build doc first, to see the warnings better Peter Hutterer 2013-06-28 10:18:03 +10:00
  • 234bf1faa9 Expand main documentation to explain libevdev a bit more Peter Hutterer 2013-06-28 09:31:55 +10:00
  • 16c4efc5aa README: Add link to API documentation Peter Hutterer 2013-06-28 06:38:14 +10:00
  • ec24e005c3 README: fix library name Peter Hutterer 2013-06-28 05:58:57 +10:00
  • 5a3d928ba6 tools: update libevdev-events to use the new LIBEVDEV_READ_NORMAL flag Peter Hutterer 2013-06-27 14:28:23 +10:00
  • 7bf7b1d7c9 Improve documentation to libevdev_next_event Peter Hutterer 2013-06-27 14:21:55 +10:00
  • 627b33cfe7 Require a flag for normal mode too Peter Hutterer 2013-06-27 14:20:03 +10:00
  • 671a1e2feb test: add test for event polling and SYN_DROPPED handling Peter Hutterer 2013-06-27 11:03:52 +10:00
  • 27991828a6 test: don't check for a max on EV_SYN events Peter Hutterer 2013-06-27 11:02:39 +10:00
  • 598bebfd92 test: add incomplete test for input props Peter Hutterer 2013-06-27 10:37:21 +10:00
  • 6b1440a58e tests: add two multitouch tests Peter Hutterer 2013-06-27 10:29:11 +10:00
  • bacceb4c48 test: add test case for device grabbing Peter Hutterer 2013-06-27 10:23:23 +10:00
  • d14626989d test: test some more event max and invalid event type paths Peter Hutterer 2013-06-27 10:22:47 +10:00
  • 4f56b51332 Init dev->grabbed as LIBEVDEV_UNGRAB Peter Hutterer 2013-06-27 10:21:44 +10:00
  • 51244538b5 Replace a few malloc + strcpy with strdup Peter Hutterer 2013-06-27 09:45:58 +10:00
  • 9b7cc815ea Revert "test: Hook up gcov to require the test name" Peter Hutterer 2013-06-27 09:40:41 +10:00
  • 9e81874c49 Pull all tests together into one binary Peter Hutterer 2013-06-27 09:40:23 +10:00
  • 32f86f97f6 test: Hook up gcov to require the test name Peter Hutterer 2013-06-27 09:24:05 +10:00
  • 045c3f50a8 Don't return a NULL name, ever. Peter Hutterer 2013-06-26 18:13:24 +10:00
  • 2da68a74e6 Fix distcheck Peter Hutterer 2013-06-26 17:31:15 +10:00
  • 8f83bc6ca2 test: add more event queue tests Peter Hutterer 2013-06-26 16:48:21 +10:00
  • 70c17eac01 Don't crash peeking at a zero-sized queue Peter Hutterer 2013-06-26 16:47:43 +10:00
  • 7bb8e339ca Update gitignore Peter Hutterer 2013-06-23 19:49:47 +10:00
  • 1d3e130ae8 test: fix includes for distcheck Peter Hutterer 2013-06-22 20:00:48 +10:00
  • b10444f82f Slots are now definitely zero-indexed, see recent kernel patch Peter Hutterer 2013-06-22 19:45:39 +10:00
  • 960dc91844 Documentation fixes Peter Hutterer 2013-06-22 19:44:03 +10:00
  • 479e16725d Use doxygen instead of man pages Peter Hutterer 2013-06-22 19:13:36 +10:00
  • 90697197df Fix stray code tag in html Peter Hutterer 2013-06-18 21:57:34 +10:00
  • cd66429c18 test: add test for internal event queue Peter Hutterer 2013-06-09 20:22:18 +10:00
  • e1d599f4c9 Fix queue_num_free_elements Peter Hutterer 2013-06-09 20:11:39 +10:00
  • 7889b467f7 Don't return the next element if the queue is full Peter Hutterer 2013-06-26 17:26:50 +10:00
  • 89fabb4e57 Don't allow a queue size of 0. Peter Hutterer 2013-06-09 20:07:14 +10:00
  • 9d04f1df84 Use a size_t, not an int, where appropriate Peter Hutterer 2013-06-09 20:03:50 +10:00
  • b06f6e9d41 Hook up gcov Peter Hutterer 2013-06-05 17:30:08 +10:00
  • ad8e0d2857 Directly compile libevdev sources Peter Hutterer 2013-06-05 16:50:48 +10:00
  • a2e058bc8b Add a test for event the various libevdev_has_event * functions Peter Hutterer 2013-06-05 15:31:00 +10:00
  • eda87cdf91 Add an API to get the repeat values Peter Hutterer 2013-06-09 19:48:19 +10:00
  • 965e2250a0 man: add a note about EV_REP values Peter Hutterer 2013-06-09 19:49:10 +10:00
  • 52208c83f2 Handle EV_REP events in event-names.h Peter Hutterer 2013-06-05 16:43:15 +10:00
  • 016cc05381 Add the remaining ev bits Peter Hutterer 2013-06-05 16:30:00 +10:00
  • 31961e8d59 Use a macro for type_to_mask Peter Hutterer 2013-06-05 16:03:54 +10:00
  • 6019083a1a Add function to get max value for a given ev type Peter Hutterer 2013-06-05 16:01:25 +10:00
  • 03fa066aec Default to a max of -1 for undefined EV_foo bits Peter Hutterer 2013-06-05 16:00:56 +10:00
  • dc27c627a7 Fix type_to_mask to return -1 Peter Hutterer 2013-06-05 11:22:35 +10:00
  • 645d5d3a64 test: add infrastructure for uinput device tests Peter Hutterer 2013-06-05 11:17:11 +10:00
  • 0e9ef8a22d Add functions to enable axis on the device in the kernel Peter Hutterer 2013-06-04 16:24:11 +10:00
  • aff1db36da Inline the type-to-mask helpers Peter Hutterer 2013-06-04 15:55:20 +10:00
  • f65a1932c1 Move utility functions to a separate header Peter Hutterer 2013-06-04 15:46:03 +10:00
  • 57ba888d43 Add a few includes the libevdev-int.h needs Peter Hutterer 2013-06-04 15:44:51 +10:00
  • a7c5ae50f4 Protect against NULL device on log handler Peter Hutterer 2013-06-04 14:53:30 +10:00
  • 7c860d6002 Set up a test harness Peter Hutterer 2013-06-04 11:11:57 +10:00
  • c92f81b648 Blacklist some key names that resolve to other names Peter Hutterer 2013-06-04 11:11:25 +10:00
  • b3c661d397 Switch tools to use libevdev_get_event_*_name interface Peter Hutterer 2013-06-04 11:15:29 +10:00
  • 91e95d2ff4 Expose API for retrieving event names Peter Hutterer 2013-06-04 09:52:20 +10:00
  • d029e6ddbf Add man page for libevdev_get_event_value and friends Peter Hutterer 2013-06-04 09:53:32 +10:00
  • fe34f7cff7 Move libevdev-events over to a tools directory Peter Hutterer 2013-06-04 09:35:14 +10:00
  • ea705612e1 Merge libevdev-print and libevdev-events into one binary Peter Hutterer 2013-06-04 09:31:46 +10:00
  • 2159a7b154 test: drop unused function print_code_bits Peter Hutterer 2013-06-04 09:30:45 +10:00
  • a3f89c647d Drop requirement on ffi - copy/paste leftover Peter Hutterer 2013-06-04 10:12:16 +10:00
  • c19463eff5 Allow libevdev_free on a NULL pointer. Peter Hutterer 2013-06-04 11:15:00 +10:00
  • 954fc8a70a Include stdarg for va_list. Peter Hutterer 2013-06-04 10:16:36 +10:00
  • 999c89083e Skip over ABS_MT_SLOT when syncing MT axis values Peter Hutterer 2013-06-03 16:36:34 +10:00
  • b01c94a762 Fix invalid abs_info read Peter Hutterer 2013-06-03 16:36:10 +10:00
  • 1927b2024f Fill in the last event time for synced events Peter Hutterer 2013-06-03 16:20:35 +10:00
  • bfc41a9ab9 Update README Peter Hutterer 2013-06-03 15:24:54 +10:00
  • 46b829a4f2 Let the name be dynamically allocated Peter Hutterer 2013-06-03 14:20:34 +10:00
  • 4318b73549 Expose phys/uniq to the caller Peter Hutterer 2013-06-03 13:59:06 +10:00
  • a98c9b3bee Export version fields as well Peter Hutterer 2013-06-03 13:35:28 +10:00
  • e8e4bc37c7 Add man-pages for the current interface Peter Hutterer 2013-05-31 11:46:20 +10:00
  • ba90eab419 Rename pid/vid to product-id and vendor-id Peter Hutterer 2013-06-03 11:22:39 +10:00
  • 0797c0035b Add a FIXME for lack of O_NONBLOCK Peter Hutterer 2013-05-31 15:16:57 +10:00
  • 897dfba2ef Add a fixme: if we're dropping sync event, libedev loses state info too Peter Hutterer 2013-05-31 15:01:32 +10:00
  • 20c4c73adf Don't allow re-setting the fd Peter Hutterer 2013-05-31 14:53:42 +10:00
  • 27528b9668 Change libevdev_grab to take an enum Peter Hutterer 2013-05-31 14:48:43 +10:00
  • cfcfa4c159 gitignore: Ignore tarballs Peter Hutterer 2013-05-31 14:48:24 +10:00
  • 9dee4db9d7 Split libevdev_new() into _new and _new_from_fd() Peter Hutterer 2013-05-31 11:26:58 +10:00
  • 0867f2f10a Free the event queue on cleanup. Peter Hutterer 2013-05-31 15:24:39 +10:00
  • 8bdd0639a6 Check for allocation failure in libevdev_new() Peter Hutterer 2013-05-31 11:26:01 +10:00
  • 05ba468a27 Rename ER_SYNC flag to LIBEVDEV_READ_SYNC Peter Hutterer 2013-05-30 14:04:33 +10:00
  • ee054e9cf9 Add a function to retrieve the current slot Peter Hutterer 2013-05-30 14:02:17 +10:00
  • 4ae4f24ef7 Update the MT state properly Peter Hutterer 2013-05-30 13:58:45 +10:00
  • 3e22ef86ab If a client doesn't sync when it should, drop all sync events Peter Hutterer 2013-05-30 12:24:46 +10:00
  • ec093aa398 After a SYN_DROPPED, drop all events in the queue Peter Hutterer 2013-05-30 12:20:21 +10:00
  • 549f0f0bcd Abstract the event queue away Peter Hutterer 2013-05-30 11:05:24 +10:00
  • f3d94ecfd7 Drop the callback interface, replace with libevdev_next_event Peter Hutterer 2013-05-30 10:42:24 +10:00
  • e19994c34c Add log func handling Peter Hutterer 2013-05-30 09:00:13 +10:00
  • 8034fdd0d7 Fix MT slot index handling Peter Hutterer 2013-05-30 12:18:39 +10:00