Commit graph

929 commits

Author SHA1 Message Date
Ingo Ruhnke
739664e7d5 Reenabled USBReadThread, this breaks --daemon mode, bet gets rid of losing events, need a full switch to async transfer to fix the issue 2011-03-16 09:05:46 +01:00
Ingo Ruhnke
a1389217b7 Removed unneeded include 2011-03-15 13:00:44 +01:00
Ingo Ruhnke
85c378b408 Move some more USB related code into USBController 2011-03-15 12:19:54 +01:00
Ingo Ruhnke
9a31c3952c Fixed bugs in KeyAxisEventHandler, added some better parsing that doesn't require a second useless KEY_ parameter for trigger, deadzone still required to be usable 2011-03-10 19:02:42 +01:00
Ingo Ruhnke
5f579e9d0c Minor cleanup 2011-03-10 19:01:17 +01:00
Ingo Ruhnke
6d18897f12 Added "rel-repeat", which allows to have the stick not modify the value, but the repeat rate of REL events 2011-03-10 12:29:35 +01:00
Ingo Ruhnke
fcdd07b570 Added code to convert .xboxdrv config files into C code, thus removing the need to have every config twice 2011-03-10 08:32:04 +01:00
Ingo Ruhnke
03e8abc0ed Added special meaning to a REL repeat value of -1, it means that the event will be send on each update(), thus leading to syncronized REL events, fixing the jitter issues with the old code 2011-03-09 08:15:25 +01:00
Ingo Ruhnke
935fd6db17 Added Uinput::send_rel() 2011-03-09 07:33:08 +01:00
Ingo Ruhnke
3a9a729e3f Updated 'make install', removed xboxdrv-daemon man page 2011-03-06 13:42:52 +01:00
Ingo Ruhnke
c7e280f9ae Added --mimic-xpad-wireless 2011-03-06 12:42:56 +01:00
Ingo Ruhnke
d7c784baf5 Updated manpage for --device-usbids 2011-03-06 12:04:38 +01:00
Ingo Ruhnke
4385f5acce Implemented --device-usbids and --device-usbid 2011-03-06 11:54:00 +01:00
Ingo Ruhnke
71526439af Removed obsolete debugging output 2011-03-06 06:01:28 +01:00
Ingo Ruhnke
b3ed2c9494 Added toggle button option to INI, allow to set toggle button to 'void' to disable it even when multiple configurations are given 2011-03-06 06:01:03 +01:00
Ingo Ruhnke
bb10adb20d Added Shutdown() call to D-Bus interface, properly catch SIGINT and SIGTERM in Daemon 2011-03-05 15:47:57 +01:00
Ingo Ruhnke
6bb8a4dc8e Ignore auto generated *_glue.hpp files 2011-03-05 15:17:46 +01:00
Ingo Ruhnke
28ba7d91ca Fixed incorrect 'if' check in xboxdrvctl 2011-03-05 15:17:22 +01:00
Ingo Ruhnke
37ccd8caa9 Some improvements on the SetConfig D-Bus command 2011-03-05 12:30:53 +01:00
Ingo Ruhnke
1742ac9073 Added --priority option to enable/disable realtime priority 2011-03-05 12:20:35 +01:00
Ingo Ruhnke
65da70d6e5 Added xboxdrvctl to access D-Bus interface 2011-03-05 11:43:25 +01:00
Ingo Ruhnke
0e2f067918 Some more .gitignore 2011-03-05 11:06:26 +01:00
Ingo Ruhnke
ce4ae7c9e1 Improved XboxdrvDaemon::status() output 2011-03-05 11:06:05 +01:00
Ingo Ruhnke
800c24f008 Fixed values of get_usbid(), get_usbid(), get_name() 2011-03-05 09:13:33 +01:00
Ingo Ruhnke
b4734a171a Grouped some USB code into USBController 2011-03-05 08:54:32 +01:00
Ingo Ruhnke
5ae17b01cd Improved D-Bus Status() output and documented it a bit 2011-03-04 01:00:34 +01:00
Ingo Ruhnke
6c5d485948 Added --device-usbids 2011-03-03 23:49:17 +01:00
Ingo Ruhnke
0177dba577 Extended D-Bus interface and added proper error handling 2011-03-03 23:48:30 +01:00
Ingo Ruhnke
165ab7b001 Moved print_info() out of process_match() so both "add" and "remove" events are tracked 2011-03-03 06:57:49 +01:00
Ingo Ruhnke
1147f04c7c Minor cleanup of debugging code 2011-03-03 06:29:06 +01:00
Ingo Ruhnke
07ac86d248 Removed unused Fifo and Socket classes 2011-03-03 06:22:31 +01:00
Ingo Ruhnke
127f016a48 Replaced a few "throw std::runtime_error()" with "raise_exception()" 2011-03-03 05:55:41 +01:00
Ingo Ruhnke
9321e54b43 .gitignore for libxboxdrv.a 2011-03-03 05:51:05 +01:00
Ingo Ruhnke
d78db093e6 TODO updates 2011-03-03 05:50:47 +01:00
Ingo Ruhnke
0e49d2009c Documented dbus and glib dependency 2011-03-03 05:50:24 +01:00
Ingo Ruhnke
4b97ef58c1 Incremented version number to 0.7.2 2011-03-03 05:49:49 +01:00
Ingo Ruhnke
6508d06808 Use '-m' for '--modifier', instead of for '--mouse' 2011-03-03 05:48:44 +01:00
Ingo Ruhnke
971a63a4f6 Added DpadRestrictorModifier to restrict movment to X, Y or fourway 2011-03-01 05:24:54 +01:00
Ingo Ruhnke
d99a1e284f Added joy and key shortcut for keyboard and joystick device-ids 2011-02-27 05:11:22 +01:00
Ingo Ruhnke
7a94893649 Removed xboxdrv-daemon script 2011-02-27 00:51:08 +01:00
Ingo Ruhnke
23900ec92d Updated timeout default value 2011-02-27 00:04:38 +01:00
Ingo Ruhnke
891ac5495f Updated timeout default value 2011-02-27 00:04:17 +01:00
Ingo Ruhnke
a718b8a38b Keep track of rounding errors in REL_ send code, so that small values don't get lost, leads to better mouse emulation 2011-02-26 19:39:06 +01:00
Ingo Ruhnke
3a1fe966ef When running as root, enable highest possible priority, not sure if that is a good idea 2011-02-25 07:30:33 +01:00
Ingo Ruhnke
3d1f13e2ba Added INIParser support for quoted values and names, for unquoted use of # and ; and for files not ending with a newline 2011-02-24 04:36:14 +01:00
Ingo Ruhnke
da371f05e6 Build simple static library to allow the building of test cases 2011-02-23 01:24:02 +01:00
Ingo Ruhnke
2f4557b024 Added support for INI values that are unquoted and contain spaces 2011-02-22 08:13:04 +01:00
Ingo Ruhnke
6ad75ae72a Added configuration to emulate a xpad with a wireless controller 2011-02-22 07:21:06 +01:00
Ingo Ruhnke
669dfde9e4 Don't append a number to deviceid 0 2011-02-22 06:11:31 +01:00
Ingo Ruhnke
08470127aa Export ControllerSlot API to DBus 2011-02-18 04:17:56 +01:00