Commit graph

727 commits

Author SHA1 Message Date
Ingo Ruhnke
dcb37500cb TODO updates 2011-01-21 00:14:21 +01:00
Ingo Ruhnke
902e3ce67b Prepend XK_ to X11 keysyms 2011-01-20 22:44:33 +01:00
Ingo Ruhnke
ca2962918a NEWS and TODO updates 2011-01-20 22:37:36 +01:00
Ingo Ruhnke
5a39a9af69 Turned X11KeysymEnum into a proper EnumBox 2011-01-20 22:37:27 +01:00
Ingo Ruhnke
e23b37c30b Filter out _MAX and _CNT macros, as they are not real keys 2011-01-20 18:11:05 +01:00
Ingo Ruhnke
473efeb20b Renamed --ui-toggle to --toggle and --ui-new to --next 2011-01-20 04:34:11 +01:00
Ingo Ruhnke
f6b955084f Corrected copy&paste error (was Xbox360 protocol numbers, now proper Xbox1 numbers) 2011-01-20 04:28:40 +01:00
Ingo Ruhnke
f80fdab25b Added missing files 2011-01-20 02:26:44 +01:00
Ingo Ruhnke
cfed8e3332 Added --list-key, --list-abs, --list-rel, --list-button, --list-axis, --list-x11keysym 2011-01-20 00:15:37 +01:00
Ingo Ruhnke
2054df5c2c Added iterators to EnumBox 2011-01-20 00:14:44 +01:00
Ingo Ruhnke
6c500fcf2a Changed modifier handling some more to be more backward compatible 2011-01-17 22:07:02 +01:00
Ingo Ruhnke
9c78af160a Added introspection to the modifier and filter 2011-01-17 18:32:36 +01:00
Ingo Ruhnke
2cc1f0a0b8 Fixed AxismapModifier::add_filter and ButtonmapModifier::add_filter 2011-01-17 15:57:43 +01:00
Ingo Ruhnke
66776ed81a Reimplemented all obsolete modifier via AxisFilter and ButtonFilter 2011-01-17 15:40:25 +01:00
Ingo Ruhnke
7d9b61d9c6 Got rid of Modifiers that duplicated ButtonFilter or AxisFilter code, those have to be rewritten in terms of ButtonmapModifier and AxismapModifier 2011-01-17 14:37:05 +01:00
Ingo Ruhnke
eb74022531 Added --modifier and [modifier] 2011-01-17 13:46:19 +01:00
Ingo Ruhnke
541ba1d8f3 Some further Modifier cleanup 2011-01-16 19:28:47 +01:00
Ingo Ruhnke
aa483bc9ca Started to restructure the current modifier somewhat 2011-01-16 17:25:15 +01:00
Ingo Ruhnke
d4881d8a3d Grouped controller options into their own class 2011-01-16 02:08:43 +01:00
Ingo Ruhnke
3e1c123e76 Catch read errors from USB, quit when global_exit_xboxdrv says so 2011-01-16 01:28:27 +01:00
Ingo Ruhnke
b36637d83b Replaced USBReadThread with regular libusb handling, lets see if that works out or leads to trouble again 2011-01-15 18:21:25 +01:00
Ingo Ruhnke
1a7951cc72 Regular shutdown will disable LEDs via destructor, doing it via global pointer hack is to dangerous 2011-01-15 18:20:51 +01:00
Ingo Ruhnke
b70f2a7488 Changed "struct libusb_..." to just "libusb_..." 2011-01-15 18:18:39 +01:00
Ingo Ruhnke
5c02101b6e Updated copyright notice 2011-01-15 17:32:57 +01:00
Ingo Ruhnke
e3a4c5ce2c Made USBReadThread a little more robust, should now be able to clean itself up and thus avoid the "Ctrl-c twice" error 2011-01-15 17:32:31 +01:00
Ingo Ruhnke
3c89732cb6 More thread cleanup, fixed --pid-file, --detach options 2011-01-15 14:19:24 +01:00
Ingo Ruhnke
3b3ae90214 Added --detach and --pidfile FILE options 2011-01-15 13:43:25 +01:00
Ingo Ruhnke
de7b02adfb Added cleanup code for old threads 2011-01-15 13:42:49 +01:00
Ingo Ruhnke
56c9650696 Give XboxdrvThread ownership of the XboxGenericController object 2011-01-14 21:35:57 +01:00
Ingo Ruhnke
e574f449d8 Cleaned up old obsolete files floating around in the repository, also added a few new one from my working directory 2011-01-14 21:00:26 +01:00
Ingo Ruhnke
6b96b6eaec Let the read thread end USB errors, instead of going into an endless loop 2011-01-14 20:29:58 +01:00
Ingo Ruhnke
e977466574 Added hotplug support to "xboxdrv --daemon" via libudev 2011-01-14 19:04:25 +01:00
Ingo Ruhnke
52de13c105 Added XboxdrvDaemon class, split controller code into XboxdrvThread 2011-01-14 16:26:04 +01:00
Ingo Ruhnke
d9e1741f84 Some more libusb-1.0 related cleanup 2011-01-14 13:08:04 +01:00
Ingo Ruhnke
869e1c87b2 Merge branch 'libusb-1.0' 2011-01-14 12:58:51 +01:00
Ingo Ruhnke
a08947d91a Some final libusb-1.0 cleanup 2011-01-14 12:58:36 +01:00
Ingo Ruhnke
42855bb01e Bit more error checking and a few bug fixes 2011-01-14 00:01:41 +01:00
Ingo Ruhnke
4b3e1638c8 TODO updates 2011-01-13 23:18:36 +01:00
Ingo Ruhnke
496296e265 News update 2011-01-13 22:48:55 +01:00
Ingo Ruhnke
9b0fca90c1 Fixed axis shifting bug that disabled all axis when a button was pressed 2011-01-13 22:46:00 +01:00
Ingo Ruhnke
b81003cbbd Fixed missing includes 2011-01-13 22:45:34 +01:00
Ingo Ruhnke
0e9723a40c libusb-1.0 fixes to make regular Xbox360 controller work again 2011-01-13 22:32:58 +01:00
Ingo Ruhnke
07e5359e7b Implemented Xboxdrv::find_controller_by_path(), Xboxdrv::find_controller_by_id() and Xboxdrv::find_xbox360_controller() with libusb-1.0 2011-01-13 21:37:04 +01:00
Ingo Ruhnke
8f339d4204 Implemented Xboxdrv::run_list_controller() via libusb-1.0 2011-01-13 21:22:11 +01:00
Ingo Ruhnke
b99968b5c5 First step in conversion to libusb-1.0, it compiles now (doesn't work yet) 2011-01-13 20:54:58 +01:00
Ingo Ruhnke
1aefe93923 Upped the version number 2011-01-13 18:05:57 +01:00
Ingo Ruhnke
1ea3b127ca Fixed some compiler warnings 2011-01-13 18:05:30 +01:00
Ingo Ruhnke
7e6536f586 Use currency symbol for Microsoft Points symbol (see Wikipedia on currency symbol) 2011-01-10 18:32:04 +01:00
Ingo Ruhnke
92342cde0d When fork()/exec() fails do a exit(EXIT_FAILURE) instead of letting the fork() continue 2011-01-10 18:31:13 +01:00
Ingo Ruhnke
6389c86df6 Fixed axis getting stuck on shift button release 2011-01-10 18:29:49 +01:00