1
0
forked from drath/libratbag

Commit Graph

  • c32c1471cb hidpp10: switch to libratbag debug system Benjamin Tissoires 2015-08-20 12:13:45 -04:00
  • f2bec4d8f7 add log buffer functionality Benjamin Tissoires 2015-08-20 11:40:11 -04:00
  • 793df27e90 Add the MX Master in the list of supported devices Benjamin Tissoires 2015-08-20 10:50:31 -04:00
  • 29b72c1a94 hidpp10: use ratbag_hidraw* commands, not plain access to the fd Benjamin Tissoires 2015-08-20 10:46:21 -04:00
  • 51f939d29f hidraw: Implement ratbag_hidraw_read_input_report and ratbag_hidraw_output_report Benjamin Tissoires 2015-08-20 10:45:40 -04:00
  • 01738398a5 Fix F23 compilation Benjamin Tissoires 2015-08-20 09:47:57 -04:00
  • f92674df1c hidraw: make sure we're comparing products of the same int type Peter Hutterer 2015-08-20 16:04:43 +10:00
  • 95c8baa043 Move the m705 driver to libratbag proper Peter Hutterer 2015-08-20 11:52:25 +10:00
  • 5ce5e8afec hidraw: add a workaround for the logitech receivers Peter Hutterer 2015-08-20 14:45:16 +10:00
  • 2268bad104 hidraw: Definitely return EINVAL when the device ids don't match Peter Hutterer 2015-08-20 14:37:25 +10:00
  • 589f249c95 Add a hack to find the hidraw device for the logitech recievers Peter Hutterer 2015-08-20 14:20:39 +10:00
  • 2cbba23010 Skip over devices that don't have a hid-subsystem parent Peter Hutterer 2015-08-20 14:08:36 +10:00
  • 9e37ce059b Rename etekcity.c to driver-etekcity.c Peter Hutterer 2015-08-20 11:51:40 +10:00
  • 279bceb2d7 Drop unifying src files, use hidpp10 instead Peter Hutterer 2015-08-20 13:30:14 +10:00
  • e9230aef5f Fix an unsigned vs signed compiler warning Peter Hutterer 2015-08-20 11:22:11 +10:00
  • 724d59ba57 Fix a compiler warning Peter Hutterer 2015-08-20 11:20:17 +10:00
  • 4f77454bcc Add missing include to libratbag-util.h Peter Hutterer 2015-08-20 11:19:19 +10:00
  • f36f4d22a7 Start moving uLogitech files into libratbag proper Peter Hutterer 2015-08-20 11:19:03 +10:00
  • 93ca4e24d4 Relicense the uLogitech bits to MIT Peter Hutterer 2015-08-20 09:16:52 +10:00
  • 29a6886362 Merge the uLogitech project Peter Hutterer 2015-08-20 09:12:26 +10:00
  • 9f518bed0c Drop device/profile arguments from driver read_button/write_button Peter Hutterer 2015-08-20 14:58:31 +10:00
  • e8d13057f9 Fix driver struct documentation Peter Hutterer 2015-08-20 14:55:22 +10:00
  • 2894ece95a tools: use dash, not underscore in commands Peter Hutterer 2015-08-20 08:16:41 +10:00
  • b1ae0682bd tools: print an error if no supported devices are found Peter Hutterer 2015-08-20 08:07:37 +10:00
  • 0a683e3cc6 tools: add a "list" command to easily know which event nodes are supported Benjamin Tissoires 2015-08-19 17:13:30 -04:00
  • 75e7f0ced1 etekcity: remove debug message marked as info Benjamin Tissoires 2015-08-19 17:13:00 -04:00
  • 85df22d360 tools: actually install ratbag-command Benjamin Tissoires 2015-08-19 16:34:40 -04:00
  • 8f723d084d Do not require libevdev to compile it Benjamin Tissoires 2015-08-19 14:35:03 -04:00
  • 25faa1c174 tools: add a very specific command for etekcity devices Benjamin Tissoires 2015-08-19 14:30:56 -04:00
  • e6a7259c40 tools: do not update the profile if we are currently on this one Benjamin Tissoires 2015-08-19 14:29:17 -04:00
  • d7cd776faf Add a ratbag_button_set_type Benjamin Tissoires 2015-08-19 14:14:01 -04:00
  • 0c8bcce63d etekcity: actually write the profile to the device Benjamin Tissoires 2015-08-19 14:11:30 -04:00
  • e3f9e0ffc0 Add a "none" button type for disabled buttons Benjamin Tissoires 2015-08-19 14:10:32 -04:00
  • ace830eb91 tools: add switch_profile command Benjamin Tissoires 2015-08-19 13:49:29 -04:00
  • a357766dbb tools: factor out the opening of the dev node Benjamin Tissoires 2015-08-19 13:42:02 -04:00
  • 5bd973a1f1 tools: Dynamically create the usage help for the commands Benjamin Tissoires 2015-08-19 13:40:49 -04:00
  • c33e1b1a7e etekcity: use an array of mapping for the buttons Benjamin Tissoires 2015-08-19 12:02:25 -04:00
  • 74ad5dbff5 etekcity: profiles are 0-indexed Benjamin Tissoires 2015-08-19 11:35:43 -04:00
  • 52e477dd07 Make INFO as the default log level Benjamin Tissoires 2015-08-19 11:34:09 -04:00
  • abc7ac1029 tools: fix 2 valgrind complains Benjamin Tissoires 2015-08-19 11:31:58 -04:00
  • fe839b2a90 etekcity: fill in the button type/action Benjamin Tissoires 2015-08-19 10:53:32 -04:00
  • 70df100e49 Fix ratbag_button_get_type Benjamin Tissoires 2015-08-19 10:52:16 -04:00
  • f7ecf67cd3 Add a bunch of buttons used by the Etekcity mice Benjamin Tissoires 2015-08-19 10:51:55 -04:00
  • ab959c7761 Add some documentation to the ratbag driver. Benjamin Tissoires 2015-08-19 10:27:01 -04:00
  • aea8de91ff Add test logs to gitignore Peter Hutterer 2015-08-19 14:11:37 +10:00
  • 2c2ac08a3b Improve a couple of log messages Peter Hutterer 2015-08-19 14:10:51 +10:00
  • e3a25ccd91 tools: implement ratbag-command info Peter Hutterer 2015-08-19 14:03:07 +10:00
  • 34dcd2aec1 Add some more function stubs Peter Hutterer 2015-08-19 13:59:36 +10:00
  • 993bc54aff Fix a comment Peter Hutterer 2015-08-19 12:48:45 +10:00
  • 3327cbad7c tools: rename "rb" to "device" Peter Hutterer 2015-08-19 12:25:04 +10:00
  • ec321bb43e tools: handle --verbose Peter Hutterer 2015-08-19 12:23:36 +10:00
  • 5d609de747 tools: use a custom error function Peter Hutterer 2015-08-19 12:22:01 +10:00
  • f9a6b5ff3c tools: print an error if the command is unknown Peter Hutterer 2015-08-19 12:18:50 +10:00
  • d48fecf550 Add ratbag_device_ref Peter Hutterer 2015-08-19 12:14:21 +10:00
  • 44a675534e Rename "libratbag" to just "ratbag" Peter Hutterer 2015-08-19 12:08:39 +10:00
  • b8be026032 Rename "struct ratbag" to "struct ratbag_device" Peter Hutterer 2015-08-19 11:43:33 +10:00
  • e6788c4905 Rename some 'device' args to 'udev_device' Peter Hutterer 2015-08-19 11:46:53 +10:00
  • 388ded0067 Add the log handlers Peter Hutterer 2015-08-19 11:29:00 +10:00
  • c51b7a9653 tools: exit early if we fail to find a udev device Peter Hutterer 2015-08-19 10:39:05 +10:00
  • 5e9e408ce0 tools: re-add support for opening /dev/input/event nodes Peter Hutterer 2015-08-19 10:38:00 +10:00
  • d64b9eeb22 tools: rename list_ratbags_usage() to just usage() Peter Hutterer 2015-08-19 10:22:44 +10:00
  • 0b833aa195 tools: revamp the ratbag-command option handling Peter Hutterer 2015-08-19 10:16:41 +10:00
  • 2c64eacd61 Drop an excess udev_device_unref Peter Hutterer 2015-08-19 10:07:37 +10:00
  • 45777d9a96 Fix a typo Peter Hutterer 2015-08-19 09:23:34 +10:00
  • 04c0ff49cc test: add basic context init tests Peter Hutterer 2015-08-18 16:42:05 +10:00
  • c7ac176c58 test: run symbol leak test as part of make check Peter Hutterer 2015-08-18 16:27:29 +10:00
  • f4f8955596 test: add missing valgrind suppressions file Peter Hutterer 2015-08-18 16:26:48 +10:00
  • 0259e69241 Add an open_restricted/close_restricted interface Peter Hutterer 2015-08-18 16:20:02 +10:00
  • fd211ba552 Print the device name, not just "the device" Peter Hutterer 2015-08-18 15:59:09 +10:00
  • 6ca2de81dd tools: use getopt parsing for the ratbag-command Peter Hutterer 2015-08-18 15:52:55 +10:00
  • fcda14df61 Drop from_fd, replace with from_udev_device Peter Hutterer 2015-08-18 15:40:48 +10:00
  • 5dad2e258d tools: fix a typo Peter Hutterer 2015-08-17 17:31:03 +10:00
  • 2baca1ae9e Implement a correct button mapping in the profiles Benjamin Tissoires 2015-08-17 17:21:27 -04:00
  • bc9a992d51 Add missing symbols Benjamin Tissoires 2015-08-17 17:19:46 -04:00
  • 7b8c360c94 Add a placeholder for the driver data in struct ratbag Benjamin Tissoires 2015-08-17 16:21:44 -04:00
  • eea6b65458 add a remove callback for the drivers Benjamin Tissoires 2015-08-17 16:19:56 -04:00
  • b7438d2ed2 Couple of minor indentation/code style changes Peter Hutterer 2015-08-17 17:19:13 +10:00
  • 6c6df9409f Add test-suite.log to gitignore Peter Hutterer 2015-08-17 17:00:13 +10:00
  • 8ad6cdc144 Use uint8_t and uint16_t instead of the kernels __u8/__u16 Peter Hutterer 2015-08-17 16:58:48 +10:00
  • 8cab7fd7a6 Implement the buttons, sort of Benjamin Tissoires 2015-08-16 21:18:11 -04:00
  • 7b17fbd1cc add implemention of ratbag_set_active_profile Benjamin Tissoires 2015-08-15 12:16:18 -04:00
  • b7ed03d688 add implementation of ratbag_has_capability Benjamin Tissoires 2015-08-15 11:54:27 -04:00
  • e49ef039d7 add implementation of ratbag_get_num_profiles and ratbag_get_num_buttons Benjamin Tissoires 2015-08-15 11:49:34 -04:00
  • 33aecfc14f etekcity: sleep after updating the profile Benjamin Tissoires 2015-08-15 11:46:26 -04:00
  • c60e31c2d9 etekcity: remove some magical numbers Benjamin Tissoires 2015-08-15 11:39:56 -04:00
  • 30718c2495 Add profile implementation Benjamin Tissoires 2015-08-15 11:38:38 -04:00
  • f4c0d88a1b etekcity: read current button mapping Benjamin Tissoires 2015-08-14 23:10:34 -04:00
  • edce2cee19 Add ratbag_hidraw_output_report to send an output report Benjamin Tissoires 2015-08-14 23:01:35 -04:00
  • 99f7936cc4 Add ratbag_hidraw_raw_request to get/set feature reports Benjamin Tissoires 2015-08-14 22:54:56 -04:00
  • 8d5088b9c6 Add ratbag-hidraw to deal with low level hidraw communication Benjamin Tissoires 2015-08-14 23:12:25 -04:00
  • c6cf35a5fc Store the input_id in ratbag directly Benjamin Tissoires 2015-08-14 22:16:17 -04:00
  • f626958758 fix memory leak when no driver is present Benjamin Tissoires 2015-08-14 22:05:31 -04:00
  • 32392ab630 Add a ref to libratbag in ratbag Benjamin Tissoires 2015-08-14 21:32:30 -04:00
  • 3733fee438 Add mandatory .probe() callback in ratbag_driver Benjamin Tissoires 2015-08-14 17:36:43 -04:00
  • b98477a7ec Retrieve through udev the hidraw node associated to the given input device Benjamin Tissoires 2015-08-14 16:26:25 -04:00
  • be3ec7317d Add tool ratbag-command to test the library Benjamin Tissoires 2015-08-14 14:45:12 -04:00
  • 67fd06c6bf Add ratbag_get_name to retrieve the name of the device Benjamin Tissoires 2015-08-14 16:30:10 -04:00
  • f5474cf9ec Add first implementation of etekcity Benjamin Tissoires 2015-08-14 14:37:21 -04:00
  • ca4af6f359 Add driver mechanism so we can have several distinct backends Benjamin Tissoires 2015-08-14 17:36:36 -04:00
  • 3188b97f9c Add implementation of ratbag_new_from_fd and ratbag_unref Benjamin Tissoires 2015-08-14 16:10:57 -04:00