1
0
forked from drath/libratbag

Commit Graph

  • f99696e6d2 tools: use the parsed index instead of the argument Peter Hutterer 2015-09-14 03:19:58 +10:00
  • d0d5284132 tools: add ability to have subcommands in a ratbag_cmd Peter Hutterer 2015-09-14 03:02:44 +10:00
  • 8e1d750ba1 roccat: add SVG for the Kone XTD Benjamin Tissoires 2015-09-13 18:08:52 -04:00
  • e73e1e2ab1 roccat: replace various msleep with actual device wait for readiness Benjamin Tissoires 2015-09-13 14:40:13 -04:00
  • 84edfc23fc roccat: add support for changing the DPI Benjamin Tissoires 2015-09-13 14:34:11 -04:00
  • 86a40ba519 roccat: add support to write profile and macros Benjamin Tissoires 2015-09-13 12:44:30 -04:00
  • 3ae353ffbf tools: add timeout events to our fake macro handling Benjamin Tissoires 2015-09-13 12:41:52 -04:00
  • 585a59796b Merge pull request #9 from phomes/no-refcount Peter Hutterer 2015-09-14 08:33:53 +10:00
  • 6555d6f2d2 Merge pull request #8 from phomes/fallback_profile_active_default Peter Hutterer 2015-09-14 08:33:34 +10:00
  • bb5a7cbd1f hidpp10: drop internal ref counts Thomas Hindoe Paaboel Andersen 2015-09-13 23:10:34 +02:00
  • 0a8642a6b0 hidpp10: make the fallback profile active and default Thomas Hindoe Paaboel Andersen 2015-09-13 22:57:55 +02:00
  • fc13c15fe2 hidraw: only show the report IDs once Thomas Hindoe Paaboel Andersen 2015-09-13 18:17:09 +02:00
  • 332a046cbb tools: stack the options into a struct passed to the functions Peter Hutterer 2015-09-14 01:06:51 +10:00
  • 55fc8dc721 roccat/etekcity: check for the presence of the key mapping report ID Benjamin Tissoires 2015-09-12 23:31:45 -04:00
  • e90a6c601e TODO: more additions Peter Hutterer 2015-09-13 00:48:10 +10:00
  • e981f1b2a7 README: add a short explanation on the architecture Peter Hutterer 2015-09-13 00:37:44 +10:00
  • 90fa2251fa drv-hidpp**: check if the device accepts the HID++ reports Benjamin Tissoires 2015-09-12 10:17:34 -04:00
  • 84cfedbf5f hidraw: actually store the list of available report IDs Benjamin Tissoires 2015-09-12 10:16:47 -04:00
  • d065bda3a6 hidraw: implement a first dummy parsing of the report descriptor Benjamin Tissoires 2015-09-12 09:48:01 -04:00
  • 24cb59af2f roccat: remove unused variable Benjamin Tissoires 2015-09-12 09:46:54 -04:00
  • b0e5508da9 Embbed the hidraw private elements in its own struct Benjamin Tissoires 2015-09-12 09:46:08 -04:00
  • 1ca65ce7cb libratbag.c should not close directly the hidraw node Benjamin Tissoires 2015-09-12 09:41:44 -04:00
  • e67fc075b2 Merge pull request #6 from phomes/master bentiss 2015-09-12 09:28:15 -04:00
  • 7fbadce2fe remove unused function Thomas Hindoe Paaboel Andersen 2015-09-12 00:03:08 +02:00
  • 6a4d747132 remove a variable only used for sizeof Thomas Hindoe Paaboel Andersen 2015-09-12 00:02:13 +02:00
  • 86960308e7 tools: add a missing prototype Thomas Hindoe Paaboel Andersen 2015-09-11 23:45:21 +02:00
  • f99a675476 roccat: check the crc on the profile Benjamin Tissoires 2015-09-10 18:40:41 -04:00
  • ce0c3c9d20 roccat: break out the crc check Benjamin Tissoires 2015-09-10 18:39:27 -04:00
  • 7f3c974212 roccat: compute the CRC on the macro report Benjamin Tissoires 2015-09-10 18:21:32 -04:00
  • 96dbf49c60 roccat: read also the waiting time Benjamin Tissoires 2015-09-10 18:02:13 -04:00
  • 2bc5b1910a Add roccat implementation Benjamin Tissoires 2015-09-10 16:04:56 -04:00
  • 1cbbcae37c Add the G303 as a known device Benjamin Tissoires 2015-09-11 17:43:35 -04:00
  • 244e6cf570 Merge pull request #5 from phomes/master bentiss 2015-09-11 17:34:49 -04:00
  • 56effdfba9 Add G5 to the hidpp10 driver Thomas Hindoe Paaboel Andersen 2015-09-09 00:51:54 +02:00
  • 0429609634 tools: fix macro time conversion to str Benjamin Tissoires 2015-09-10 18:02:56 -04:00
  • ad18c0fd55 TODO: add discussion regarding keys/macros Benjamin Tissoires 2015-09-10 16:10:03 -04:00
  • a4515a59ae tools: strncmp -> strneq Peter Hutterer 2015-09-11 03:57:32 +10:00
  • 69bb5d2f48 Add a default profile capability Peter Hutterer 2015-09-10 06:38:03 +10:00
  • 43386ae31d driver-hidpp20: enumerate all capability values Peter Hutterer 2015-09-10 06:35:55 +10:00
  • b5e8247f55 Add a couple of TODO items Peter Hutterer 2015-09-10 05:17:56 +10:00
  • 80041666f2 Merge branch 'wip/macro' Benjamin Tissoires 2015-09-10 13:25:42 -04:00
  • c2e72f4154 etekcity: remove magic constant Benjamin Tissoires 2015-09-10 09:08:17 -04:00
  • f44f07c6a9 etekcity: fix the check for macro Benjamin Tissoires 2015-09-10 09:06:38 -04:00
  • d7ef078c02 tools: Now, we have foo and bar as macro Benjamin Tissoires 2015-09-10 08:49:51 -04:00
  • c2272c4f76 drv-hidpp20: change log priority Benjamin Tissoires 2015-09-10 08:46:45 -04:00
  • 1e40cda292 data: minor adjustments to the SVGs Benjamin Tissoires 2015-09-09 11:18:29 -04:00
  • 286f398763 tools: add a (currently fake) way of addressing a macro change Benjamin Tissoires 2015-09-08 20:13:50 -04:00
  • 6910eabacc Add an additional macro API to commit the macro Benjamin Tissoires 2015-09-08 20:19:20 -04:00
  • cdf710d807 add support for getting/setting the macro name Benjamin Tissoires 2015-09-08 14:49:40 -04:00
  • c7b7996f09 etekcity: actually write the macro to the device Benjamin Tissoires 2015-09-08 20:17:12 -04:00
  • e4f2f295c0 TODO: add macro todo list Benjamin Tissoires 2015-09-08 12:48:25 -04:00
  • ce10bb1e84 macro: add first implementation Benjamin Tissoires 2015-09-08 12:44:55 -04:00
  • a7a1f1a2a4 etekcity: retrieve the macros while reading the button Benjamin Tissoires 2015-09-08 11:34:56 -04:00
  • 7a679c9f97 hidraw: return -ETIMEDOUT when a timeout occured Benjamin Tissoires 2015-09-07 12:31:04 -04:00
  • a8e592e1bc hidraw: add ratbag_close_hidraw Benjamin Tissoires 2015-09-07 12:29:19 -04:00
  • 4333a8d9c3 Merge pull request #4 from phomes/master Peter Hutterer 2015-09-08 04:53:28 +10:00
  • f018a67252 use info if given an invalid priority Thomas Hindoe Paaboel Andersen 2015-09-07 20:00:13 +02:00
  • ea87c8b200 Remove unused include Thomas Hindoe Paaboel Andersen 2015-09-04 08:59:29 +02:00
  • 54aea717a5 fix typo in ratbag_button_action_match Benjamin Tissoires 2015-09-07 10:04:04 -04:00
  • 4017df40f3 etekcity: fix profiles raw mapping Benjamin Tissoires 2015-09-07 10:03:18 -04:00
  • f8cb6e0f39 etekcity-drv: fix compiler warning Benjamin Tissoires 2015-09-06 16:12:50 -04:00
  • cb50b53467 Don't allow for more than INT_MAX refs on each struct Peter Hutterer 2015-09-07 10:34:15 +10:00
  • 9c53dcc717 test: reduce the ref/unref test runs to 256 Peter Hutterer 2015-09-07 10:31:34 +10:00
  • fb709c876a test: add more refcounting test cases Peter Hutterer 2015-09-07 10:27:06 +10:00
  • 4f57efb98f test: add a test where we unref everything but the button Benjamin Tissoires 2015-09-04 14:29:51 -04:00
  • 5aa1c0b65d test: Add a test to use profile after unref-ing the device Benjamin Tissoires 2015-09-04 14:04:51 -04:00
  • dc24ae3aaa Fix the ref/unref dependency Peter Hutterer 2015-09-04 12:56:08 +10:00
  • 409fd9abca Add ratbag_profile_destroy() and ratbag_button_destroy() helper functions Peter Hutterer 2015-09-07 08:57:09 +10:00
  • 9f6a12fc48 Add a comment noting the initial refcount of the device and the context Peter Hutterer 2015-09-07 09:42:54 +10:00
  • 7b2a43f17c testdrv: make sure .remove() is called only once Benjamin Tissoires 2015-09-04 11:59:04 -04:00
  • 97bfc86165 prevent a segfault in sanity_check_device Benjamin Tissoires 2015-09-04 11:50:24 -04:00
  • 28a94d0974 Add a test suite Peter Hutterer 2015-09-02 14:10:31 +10:00
  • 967fd3fd33 Make ratbag_find_driver/ratbag_device_new non-static Peter Hutterer 2015-09-02 15:12:49 +10:00
  • 04fa488a22 Allow a NULL udev device for ratbag_device_new Peter Hutterer 2015-09-03 13:13:07 +10:00
  • 9deaedbfc5 Add some device sanity checking Peter Hutterer 2015-09-03 16:17:11 +10:00
  • a9b9540edb data: update the SVGs to put a proper anchor for the texts Benjamin Tissoires 2015-09-03 16:21:54 -04:00
  • 2a5dca5084 Add a FIXME note to ratbag_profile_set_default/is_default Peter Hutterer 2015-09-03 13:08:39 +10:00
  • 7a5db3d995 Update TODO with a short explanation why we don't have event processing Peter Hutterer 2015-09-03 13:07:19 +10:00
  • 6c3a8aa90e Abort if zalloc fails Peter Hutterer 2015-09-03 12:41:49 +10:00
  • 667b95e4c7 Change ratbag_device_init_udev to ratbag_device_init_hidraw Peter Hutterer 2015-09-03 10:35:57 +10:00
  • c2da21a342 Add ratbag_device_destroy() Peter Hutterer 2015-09-03 10:26:17 +10:00
  • 05e65b1310 Change ratbag_device_init into ratbag_device_new() Peter Hutterer 2015-09-03 10:20:07 +10:00
  • 491fffad16 Drop ratbag_device_set_hidraw_device() Peter Hutterer 2015-09-03 08:13:23 +10:00
  • 2bcfb825c0 Misc code cleanups Peter Hutterer 2015-09-03 08:12:34 +10:00
  • a1935a76ac Fix the log_bug_client macro Peter Hutterer 2015-09-03 08:11:21 +10:00
  • b9376bdc67 tools: split out some shared functions Benjamin Tissoires 2015-09-02 22:15:42 -04:00
  • 3afc1ffdd8 Merge pull request #3 from phomes/master Peter Hutterer 2015-09-03 07:50:27 +10:00
  • 9011876d1b drop inconsistent null check Thomas Hindoe Paaboel Andersen 2015-09-02 22:03:05 +02:00
  • 5f2d538e10 Avoid overflow when reading dpi list Thomas Hindoe Paaboel Andersen 2015-09-02 21:47:23 +02:00
  • f30ea0dc4d RATBAG_BUTTON_TYPE_UNKNOWN is not a ratbag_button_action Thomas Hindoe Paaboel Andersen 2015-09-02 21:40:05 +02:00
  • d2d5566156 data: add an SVG for the MX Master Benjamin Tissoires 2015-09-02 11:59:42 -04:00
  • 1e1dfd02fd Add a ratbag_device_get_svg_name() function Benjamin Tissoires 2015-09-02 11:02:03 -04:00
  • 4644614da5 hidppdrvs: remove terminating comma in LOGITECH_DEVICE() macro Benjamin Tissoires 2015-09-02 10:48:49 -04:00
  • 77035a08ae etekcity: make sure action is valid before dereferencing it Benjamin Tissoires 2015-09-02 10:36:40 -04:00
  • 9ccaaa9ea9 etekcity: retrieve the "on-to-go" setting Benjamin Tissoires 2015-09-02 10:35:33 -04:00
  • 9dd71c6b06 hidpp20drv: if the num_buttons has been filled, use it Benjamin Tissoires 2015-09-02 10:01:27 -04:00
  • 531651088c Expand the get/set_user_data functions Peter Hutterer 2015-09-02 14:45:00 +10:00
  • 6ec078d43b Add hooks for getting/setting the default profile Peter Hutterer 2015-09-02 17:01:35 +10:00
  • 8b1ebc4caa data: add an SVG for the G500s Peter Hutterer 2015-09-02 13:41:33 +10:00
  • fe775e2b76 Fix doxygen for the driver interface Peter Hutterer 2015-09-02 10:34:22 +10:00