Commit graph

1165 commits

Author SHA1 Message Date
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
Ingo Ruhnke
3ca7573177 Hooked up daemon some more, basic controller stuff now working 2011-03-20 18:36:23 +01:00
Ingo Ruhnke
ca8c2e28a6 Fixed incorrect boost::ref(opts) calls 2011-03-20 17:24:43 +01:00
Ingo Ruhnke
3dbed9c04c Hocked up timing code in ControllerThread, filters now working again 2011-03-20 14:29:28 +01:00
Ingo Ruhnke
e483ef5fa4 Brought back ControllerThread, made non-daemon mode work again, modifier support still missing 2011-03-20 13:18:37 +01:00
Ingo Ruhnke
5a27e4a3ad More work on glib main loop integration 2011-03-19 21:10:16 +01:00
Ingo Ruhnke
2b91866d30 Switched over from threads to glib main loop message passing, most controller are still broken (wired Xbox360 works), filters don't get updates and there might be plenty of bugs 2011-03-19 19:51:47 +01:00
Ingo Ruhnke
3c85ad5765 Some framework for integrating libusb into a glib main loop and async support for Controller, test app seems to be working, full xboxdrv will not 2011-03-18 21:15:12 +01:00
Ingo Ruhnke
a5ccae7373 Added Controller::parse() message 2011-03-18 09:26:27 +01:00
Ingo Ruhnke
3652ccfc85 Mouse config tweaking 2011-03-18 09:22:45 +01:00
Ingo Ruhnke
f66880e99d TODO and NEWS updates 2011-03-18 09:22:23 +01:00
Ingo Ruhnke
63c2293b31 Fixed incorrect reading of arguments in deadzone filter 2011-03-17 05:30:53 +01:00
Ingo Ruhnke
8cd8e920e3 Added config for Microsoft Ergonomic 4000 zoom wheel 2011-03-16 21:19:18 +01:00
Ingo Ruhnke
4a6b815f9b NEWS, TODO, VERSION updates 2011-03-16 12:52:21 +01:00
Ingo Ruhnke
66ca704bd2 Added ZSNES config file 2011-03-16 11:04:18 +01:00
Ingo Ruhnke
44bbc6ae67 Added config file for ZSNES 2011-03-16 11:03:17 +01:00
Ingo Ruhnke
3d63ca2bc0 NEWS and TODO updates 2011-03-16 10:51:30 +01:00
Ingo Ruhnke
a3b38b47e5 Added FIXME comment 2011-03-16 10:43:52 +01:00
Ingo Ruhnke
6570cc4793 Split xpad-wireless emulation and xbmc configuration 2011-03-16 10:42:47 +01:00
Ingo Ruhnke
d87c360353 Updated NEWS, TODO and docs 2011-03-16 10:37:26 +01:00
Ingo Ruhnke
83fdbd36c8 Added option to disable D-Bus 2011-03-16 10:27:20 +01:00
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