Commit Graph

28 Commits

Author SHA1 Message Date
Klaus Basan
bad8ad2a8e Ref T650, added more hotkeys such as OEM keys
* based on http://www.kbdlayout.info/
* OEM key solves accent / dead key issue for most cases
* Mac/Linux parts still missing
2019-05-13 11:21:04 +02:00
Klaus Basan
74e7fa46b6 Ref T645, added space/dead grave as hotkeys 2019-05-13 11:21:03 +02:00
Klaus Basan
9287713cb8 Ref T606, added back/tab/ESC as hotkeys 2019-05-13 11:20:37 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
e5c435f281 Add function to retrieve all available joystick buttons 2019-02-22 20:36:23 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Roland Winklmeier
0f140cb155 Add more special key codes to keyboard keys
ref T404
2018-11-16 02:49:51 +01:00
Roland Winklmeier
84f1e21cf8 Add support for multiple Joystick devices
This includes a major refactoring of the Linux and Windows implementations
Each joystick device is now its own QObject. They all setup their own
native device instances and poll the button states.
On Windows, COM initialization has been removed since it caused segfaults
while releasing the DirectInput8 instance.

ref T254
2018-10-03 03:03:40 +02:00
Roland Winklmeier
84dcc53dc0 Misc clang warning fixes 2018-08-25 22:12:07 +02:00
Roland Winklmeier
a60ee4a7dd Use override for destructors 2018-08-25 22:12:06 +02:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Roland Winklmeier
199a1e5fcb refs #453 Refactor CInputManger and low level input handlers 2015-11-19 20:57:59 +00:00
Roland Winklmeier
95fe93a83c Style fixes 2015-11-19 20:51:16 +00:00
Roland Winklmeier
c31a383547 Fix unsafe and broken keyboard detection on Linux 2015-11-19 20:51:15 +00:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Michał Garapich
2b07dfb789 refs #401 Implementation of IJoystick for Linux
Basically, the implementation uses the API described in the kernel
documentation. It listens for new events that come from the device.
It also supports joystick hotplugging.

* https://www.kernel.org/doc/Documentation/input/joystick-api.txt
2015-04-16 00:27:41 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Roland Winklmeier
d71e380a91 refs #341 Fix operator= return types 2014-11-05 16:07:31 +01:00
Roland Winklmeier
34326447f8 refs #317 IKeyboard implementation fixes
- private constructor
- deleted public copy constructor
- deleted public assignment operator
2014-08-27 19:23:42 +02:00
Roland Winklmeier
80f8e33ba0 refs #317 Add stub Linux and OSX IJoystick implementations 2014-08-27 19:23:39 +02:00
Roland Winklmeier
8e16f9619f refs #313 Fix argument by const reference 2014-08-19 14:42:23 +02:00
Roland Winklmeier
2f527f72c3 refs #313 Remove the responsibility from IKeyboard to register
and call functions. Instead just monitor key ups and downs.
2014-08-19 14:41:36 +02:00
Roland Winklmeier
50b5e80057 refs #313 Remove any occurence of function or virtual keycode from CKeyboardKey(list)
Justification for native virtual key is, because its not cross platform.
2014-08-19 14:41:34 +02:00
Roland Winklmeier
66bcea8e20 refs #265 Linux raw input handling 2014-06-15 20:30:48 +02:00
Roland Winklmeier
498dc5e1df refs #265 Linux raw keyboard mappings 2014-06-15 20:30:47 +02:00
Roland Winklmeier
a131e8c91c Move IKeyboard and subclasses to new library BlackInput
refs #256
2014-06-15 19:22:59 +02:00