Commit Graph

36 Commits

Author SHA1 Message Date
Mat Sutcliffe
1cb21f0a4b Ref T545 Removed redundant constructors that are now inherited. 2019-04-12 13:30:53 +01:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Roland Rossgotterer
563a69e3f5 Remember and ignore hotkey combination before capturing
When capturing a new hotkey combination, we want to get only the delta of the keys and buttons being pressed during the capturing. 

ref T585
2019-04-11 22:12:20 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
68907258a5 Add method to get joystick button name including a device prefix 2019-02-22 20:36:23 +00:00
Klaus Basan
21acef505c Function for getKeyStrings() and replace without key (just adding) 2019-02-22 20:36:20 +00:00
Klaus Basan
d8a730302a Another attempt to fix copyed hotkeys by updating the identifier
* check on name OR id
* remote keys not updated, but lenient check on local machine
* Remark: Sometimes copied hotkeys d not work
2019-02-22 20:36:15 +00:00
Klaus Basan
2d30c1cce8 Style 2019-02-22 20:35:59 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
180214e4f0 Ref T404, fixed the UTF issues for hotkeys
* QStringLiteral expects UTF16 for MSVC compilers
* we use descriptive names now
* UTF flag for MSVC compilers
* added the SLACK discussion as comment under https://dev.swift-project.org/T404
2018-11-16 02:49:53 +01:00
Klaus Basan
c862136126 Ref T404, style 2018-11-16 02:49:53 +01:00
Klaus Basan
554ab4aa01 Ref T404, added new hotkeys 2018-11-16 02:49:53 +01:00
Roland Winklmeier
0f140cb155 Add more special key codes to keyboard keys
ref T404
2018-11-16 02:49:51 +01:00
Roland Winklmeier
f90ad72d9e CJoystickButton fixes 2018-10-07 16:17:28 +02:00
Roland Winklmeier
c13121edbd Fix PropertyIndex for CKeyboardKey and CJoystickButton 2018-10-05 17:39:58 +02:00
Roland Winklmeier
8ee428e7cf Style 2018-10-05 17:39:58 +02:00
Roland Winklmeier
7e10ea2f64 Pass QString argument by const reference 2018-10-05 17:39:58 +02:00
Roland Winklmeier
fa74f28bca Add deviceName attribute to CJoystickButton
ref T254
2018-10-03 03:03:40 +02:00
Klaus Basan
6bcded9264 Style 2018-07-09 22:30:20 +02:00
Klaus Basan
4bc9b92c69 Ref T218, find hotkeys by same machine 2018-01-14 18:45:53 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Klaus Basan
09b9ca5d50 refs #912, keyboard key list / combination utility functions and minor fixes
* Ctor for single key
* static const CKeyboardKeyList
* some formatting
2017-04-18 00:04:42 +01:00
Klaus Basan
9921cc3497 refs #912, utility function for hotkey list 2017-04-18 00:04:40 +01:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Mathew Sutcliffe
a1861c69f0 refs #624 Some more occurrences of constexpr. 2016-03-22 16:02:53 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Mathew Sutcliffe
d13e863218 refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed. 2015-11-19 21:02:16 +00:00
Mathew Sutcliffe
51c97264f5 refs #459 Removed compare() workaround in CActionHotkeyList. 2015-11-19 20:58:19 +00:00
Roland Winklmeier
63c7c6be0d refs #453 Refactor Input value classes
All previous Hardware classes have been refactored and moved into
the Input namespace.
2015-11-19 20:57:58 +00:00