Commit graph

1199 commits

Author SHA1 Message Date
Ingo Ruhnke
44675a1d4b Set LED status to 0 on shutdown 2011-05-24 00:32:36 +02:00
Ingo Ruhnke
19f66afb75 Further fixes to slot assignment in xboxdrv daemon 2011-05-23 19:43:49 +02:00
Ingo Ruhnke
be39c5db49 Fixed issues with Controller activation, moved activation code into Controller 2011-05-23 14:38:12 +02:00
Ingo Ruhnke
3ed8af3b8b Properly destroy GSource in ~USBGSource() 2011-05-23 14:37:41 +02:00
Ingo Ruhnke
5347cfd6b8 Hooked up --no-dbus 2011-05-20 21:10:17 +02:00
Ingo Ruhnke
b5bbf48d80 Added controller disconnect handling 2011-05-20 19:55:16 +02:00
Ingo Ruhnke
f1417511e5 TODO updates 2011-05-20 15:31:53 +02:00
Ingo Ruhnke
e7f6d5179b Minor cleanup 2011-05-20 15:31:39 +02:00
Ingo Ruhnke
30c3084398 Made Xbox360Controller and Xbox360WirelessController endian clean 2011-05-20 15:21:00 +02:00
Ingo Ruhnke
dd569f0fa4 Added endian clean unpack routines 2011-05-19 19:52:10 +02:00
Ingo Ruhnke
428cf31cb5 Some cleanup in chatpad.?pp 2011-05-07 19:04:05 +02:00
Ingo Ruhnke
1a05c597b0 Switched Chatpad to async, still needs some polish 2011-05-05 13:43:18 +02:00
Ingo Ruhnke
a123f6c7b3 Async code for reading/writing to/from the headset (untested) 2011-04-13 20:54:48 +02:00
Ingo Ruhnke
61e6bf189a NEWS, TODO, .gitignore updates 2011-04-13 19:44:04 +02:00
Ingo Ruhnke
2c39e7e9d5 Moved path helper to separate file 2011-04-13 19:40:15 +02:00
Ingo Ruhnke
fd806996dc Added support Macro filenames relative to their parent config files 2011-04-12 18:54:12 +02:00
Ingo Ruhnke
a6d577c8a4 Moved some parsing code from UinputOptions to CommandLineOptions 2011-04-12 18:18:36 +02:00
Ingo Ruhnke
bef8044664 Started implementing async for Headset 2011-04-12 12:17:11 +02:00
Ingo Ruhnke
378efc2d38 Rewrote Macro line parsing code 2011-04-12 12:16:46 +02:00
Ingo Ruhnke
69e24b891c Split AxisEvent into separate files 2011-04-12 12:16:21 +02:00
Ingo Ruhnke
590574e832 Added ABS support to macros 2011-04-11 18:35:19 +02:00
Ingo Ruhnke
0fe69b98a9 Split ButtonEvent classes into separate files 2011-04-11 17:16:06 +02:00
Ingo Ruhnke
1de36a5664 Reset wireless controller into neutral position on disconnect 2011-04-10 21:15:02 +02:00
Ingo Ruhnke
29e5dcc240 Removed boost::mutex stuff, fixed some #includes 2011-04-09 16:02:24 +02:00
Ingo Ruhnke
5522df6dcf Reset timer properly so correct msec_deltas are generated 2011-04-09 15:50:48 +02:00
Ingo Ruhnke
6b70f0bcc6 Use GIOChannel instead of busy-read() calls 2011-04-09 15:50:24 +02:00
Ingo Ruhnke
3f81c20e62 Compile warning fix 2011-04-09 15:50:00 +02:00
Ingo Ruhnke
94255ee50b Added watch function for child process 2011-04-05 11:17:15 +02:00
Ingo Ruhnke
4aa43526ed Added example config for TieFighter 2011-04-04 00:54:46 +02:00
Ingo Ruhnke
cb345e9e45 Added Street Fighter Fightpad, thanks to Mike Swanson <mikeonthecomputer@gmail.com> 2011-03-27 04:10:12 +02:00
Ingo Ruhnke
f883486fcd Removed boost::thread dependency, chatpad & headset do no longer work 2011-03-25 22:45:13 +01:00
Ingo Ruhnke
93b6e0d49b Added rel repeat value of -1 for sending an event only once 2011-03-25 20:21:43 +01:00
Ingo Ruhnke
9b03d47b29 Minor cleanup 2011-03-25 20:17:46 +01:00
Ingo Ruhnke
569061c319 Removed debug output 2011-03-25 19:24:52 +01:00
Ingo Ruhnke
885aebc87c Added timeout/update() back to UInput 2011-03-25 19:05:13 +01:00
Ingo Ruhnke
fced751007 Fixed issues with shutdown 2011-03-25 18:28:48 +01:00
Ingo Ruhnke
c4d6fdfa72 Catch SIGINT and SIGTERM for a clean shutdown 2011-03-25 18:19:18 +01:00
Ingo Ruhnke
1270ec69f6 Cleaned up subsystem init code, split it into classes (thread cleanup in daemon currently broken) 2011-03-25 18:02:21 +01:00
Ingo Ruhnke
1e1843e41e Added printing of messages back in 2011-03-24 10:35:05 +01:00
Ingo Ruhnke
2c110c2ce3 Got rid of ControllerThread::start()/stop() 2011-03-24 09:55:22 +01:00
Ingo Ruhnke
a93e2f40a4 Close file handle in ~EvdevController(), as GIOChannel doesn't do that by itself 2011-03-23 23:38:53 +01:00
Ingo Ruhnke
d65ed47e25 Implemented EvdevController via GIOChannel 2011-03-23 23:03:05 +01:00
Ingo Ruhnke
a2e369a2b6 Better error checking 2011-03-23 23:02:46 +01:00
Ingo Ruhnke
6f84ed171d Only init USBGSource when libusb is used 2011-03-23 23:02:39 +01:00
Ingo Ruhnke
94dd5aa052 Fixed Firestorm gamepad, implemented USBController::usb_control() 2011-03-23 21:06:22 +01:00
Ingo Ruhnke
1cc2b36269 Adopted a few Controller to new USB API 2011-03-23 18:59:52 +01:00
Ingo Ruhnke
b0daa43fd0 Implemented async USB write 2011-03-23 17:58:57 +01:00
Ingo Ruhnke
15ebae464b Got rid of USBController::start()/stop(), do work in Constructor instead 2011-03-23 17:17:01 +01:00
Ingo Ruhnke
ba98b21678 Trying to split of XboxdrvMain from Xboxdrv 2011-03-22 15:29:27 +01:00
Ingo Ruhnke
dbd033030a Cleaned up debugging output, fixed bugs on shutdown and fixed reconnection issues in daemon 2011-03-20 21:39:45 +01:00