Commit Graph

107 Commits

Author SHA1 Message Date
57ce214e14 Added actual layout switch 2023-03-10 20:09:50 +01:00
84249daf5b Added layout change option to button GUI 2023-03-10 18:34:48 +01:00
0844b4a0c2 ensure button highlight visibility, fix issue #37, thanks to @LeXofLeviafan 2022-07-16 03:42:00 +02:00
15fab96008 Correct typos in main.cpp 2022-02-15 09:44:01 +08:00
1220afd234 Merge pull request #52 from dginovker/fixoverwritelayoutprompt
Fix overwrite layout prompt displaying %1 instead of the layout it's going to overwrite
2022-01-02 20:23:09 +01:00
c1589df73f Update qjoypad config dir refs to .config/qjoypad4 2021-12-24 18:37:25 +09:00
34a1b3a223 Fix overwrite layout prompt displaying %1 instead of the layout it's going to overwrite 2021-12-24 18:10:05 +09:00
1b57cf2810 Change settings directory to .config/qjoypad4, offer to move settings for user 2021-12-24 17:38:01 +09:00
d9398083d3 slight style improvement in last commit 2021-04-15 02:12:15 +02:00
e86bb12144 keeping memory of if the last axis input was mapped to a mouse button or not, to be able to trigger the correct release event 2021-04-15 00:33:52 +02:00
3468ddd59d Merge pull request #41 from minger0/addcfgnonotray
add 'add new config' option to the menu
2021-01-10 22:49:50 +01:00
88c7e729c4 re: review - fix spaces and rename Absolute2 2020-12-27 17:40:58 +01:00
a90e046063 add 'add new config' option to the menu 2020-12-27 16:31:25 +01:00
1c55328bf8 load/save of the mouse absolutecoordinate option 2020-12-27 03:19:20 +01:00
beb8d06191 add the mouse absolute coordinate option 2020-12-27 01:55:29 +01:00
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