Commit Graph

92 Commits

Author SHA1 Message Date
99f23f8929 Fix compilation with QT 5.13 2019-07-03 00:05:38 +02:00
7d81e7208a Increase the maximum key number to be able to simulate multimedia keys, e.g. XF86AudioRecord. 2019-01-29 20:27:52 +01:00
6e7bfa8a06 group initialization code a bit more nicely 2017-12-31 18:35:08 +01:00
826c171d53 Do not add layouts twice
This fixes the warning "Attempting to add QLayout "" to LayoutEdit "", which
already has a layout" when the main window is created.
2017-12-31 12:27:54 +00:00
9f6a0b8cec XF86AudioRaiseVolume button support 2016-09-28 15:15:26 +02:00
2ec41e6c83 fix segfault b/c QList is now used instead of QHash 2016-04-03 01:17:15 +02:00
1460932c5e deleted obsolete code 2016-04-03 00:31:11 +02:00
017f2229ce fix scrambeled axis/buttons indices 2016-04-03 00:20:59 +02:00
5af554723d support mouse wheel in new key dialog 2016-04-02 23:42:51 +02:00
18907190f1 Resolve Qt::MouseButton to XTst keycode mapping
Since now we read correct mouse buttons from user input for
left, right and middle buttons.
2016-04-01 17:36:56 +02:00
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