Commit Graph

82 Commits

Author SHA1 Message Date
bae5545b11 Don't compile GetKey
It relies on functions that are too deprecated,
without -Wno-deprecated-declarations it doesn't even compile.
2016-03-31 17:50:39 +02:00
c837ef3c09 Replace usage of GetKey in favor for KeyDialog 2016-03-31 17:50:39 +02:00
e633b10379 Add KeyDialog class
This will take care of reading user input.
TODO: Correct mouse buttons values, they do not match Xtest values.
2016-03-31 17:50:35 +02:00
8fbfe081b2 port to Qt5 2016-01-23 02:51:07 +01:00
ccbf421bf8 removed confusing tray menu "title" 2015-12-18 14:51:35 +01:00
7cfce7b062 only write changed buttons/axis to layout file 2015-12-18 14:39:36 +01:00
eebcc44bb8 erroneously used localized strings in saved layout file 2015-12-18 14:38:50 +01:00
18cfef63a4 Re-enable Ctrl-X in the "choose key" dialog to shun a joystick button 2014-05-12 22:07:04 +02:00
0957dc3850 UI: make the layout scrollable when there are many buttons 2014-05-12 17:37:32 +02:00
fdedbf8662 added: rename, import and export 2014-02-25 04:16:43 +01:00
008450a949 comment cleanup 2014-02-24 01:40:49 +01:00
2cf16c698b actually load the translation 2014-02-24 01:32:56 +01:00
6bd58aeb7c localization and more const& params 2014-02-24 00:37:51 +01:00
a1d2c947c7 fix udev code and some refactorings for cleaner code 2014-02-23 19:37:01 +01:00
6771b75516 more i18n 2014-02-23 18:32:09 +01:00
45efb2e941 internationalization (but no localization yet) 2014-02-23 18:27:27 +01:00
cad0fc343d also use libudev for enumerating joypad devices 2014-02-23 16:51:43 +01:00
7805757447 optional libudev support for auto update devices 2014-02-22 23:24:05 +01:00
76175efe27 there was a reason it was int 2014-02-21 23:15:07 +01:00
c5f9ec7e4c use QDilaogButtonBox for Ok/Cancel buttons 2014-02-21 23:11:12 +01:00
c93aa1df37 added some button icons (TODO: ok and cancel buttons) 2014-02-21 05:22:12 +01:00
ba2df2c5a3 renamed some fields, floating icon size from actual icon 2014-02-19 01:03:30 +01:00
c1647166a8 refactor: sendevent to hide X11 deps, rename and move enums 2014-02-19 00:26:24 +01:00
86b1ef7c00 add & to labels and set buddies 2014-02-18 02:53:17 +01:00
ee8104dd21 Merge branch 'master' into HEAD 2014-02-18 02:11:15 +01:00
22da0125f7 flashing buttons use system highlight color and changed a few names 2014-02-18 02:00:56 +01:00
0b08d3e6b3 make floating icon translucent and frame less 2014-02-18 02:00:56 +01:00
d50df176f5 removed strange part of regexp 2014-02-18 02:00:55 +01:00
1c1f40cdda moved a few includes to .cpp files 2014-02-18 02:00:55 +01:00
04196358fc don't use magic layout name "[NO LAYOUT]" 2014-02-18 02:00:55 +01:00
6a91eca365 added config.h.in and moved some defines there 2014-02-18 02:00:55 +01:00
d76571babf fix config file writing 2014-02-18 02:00:55 +01:00
7d2da6204d joystick name++ 2014-02-18 02:00:55 +01:00
961a1d8d50 fix comment parsing 2014-02-18 02:00:55 +01:00
1ab111f3a5 const& params++, no need to rebuild menu when layout changes 2014-02-18 02:00:55 +01:00
a1f4cdedb3 menu: escape &, use radio menu items; don't abuse SIGIO (use SIGUSR2 instead) 2014-02-18 02:00:55 +01:00
12b374e422 fix reading js events, debug_mesg as variadic macro 2014-02-18 02:00:55 +01:00
cfa17f8947 globals--, fmt string fix, foreeach++, better names++, close fds, tray icon activates/closes 2014-02-18 02:00:55 +01:00
f2a566cc06 mem leaks--, globals--, better macro names, Q_OBJECT++, other name improvemets 2014-02-18 02:00:55 +01:00
904a843b93 foreach++, globals--, const& params++, new--, uninit mem usage--, mem leaks-- (still a lot to go) 2014-02-18 02:00:55 +01:00
683fa64f01 warnings--, isolation++ 2014-02-18 02:00:55 +01:00
851a242761 actually use --devdir argument 2014-02-18 02:00:55 +01:00
e2dfdbdc14 removed some unused includes 2014-02-18 02:00:55 +01:00
5da7e859f4 use getopt.h to parse command line options 2014-02-18 02:00:55 +01:00
5fef530aa0 started to reduce globals, set signal handlers after everything used in them initialized 2014-02-18 02:00:55 +01:00
133d5b8547 more foreach, less pointers 2014-02-18 02:00:55 +01:00
80351f5504 make compile with -pedantic and use foreach in some places 2014-02-18 02:00:55 +01:00
5ca0712af2 ported build system to cmake 2014-02-18 02:00:55 +01:00
6fa91c4529 an axis may now press a mouse button and fix many warnings 2014-02-18 02:00:55 +01:00
a3f2800c55 make compile under Fedora 20 2014-02-18 02:00:55 +01:00