119 Commits

Author SHA1 Message Date
Paweł Kotiuk
a75c88be91 chore: Remove unused code linked with USE_NEW_REFRESH 2024-11-24 15:29:47 +01:00
Paweł Kotiuk
82fb7590b8 fix: Handle unexpected sensor type 2024-04-12 09:43:43 +02:00
Chris Dailey
035618d5b3 chore(msvc): fix potentially uninitialized warning
Fixes the msvc warning as error due to `/sdl`.
2022-12-19 13:56:16 +01:00
Paweł Kotiuk
353394ecef fix: Always initialize Controller sensors when available (#620)
In some situations they were not initialized at all https://github.com/AntiMicroX/antimicrox/issues/617
2022-11-19 18:59:53 +01:00
Paweł Kotiuk
a5ddbcbc67 chore: Add naming of initialized threads 2022-10-23 20:02:50 +02:00
Paweł Kotiuk
000d8e22ac chore: Improve logs
- Remove the most spammy ones
- Add log showing currently precessed event
-other logs
2022-10-13 21:05:20 +02:00
Max Maisel
3f9d8e4f89 Add sensors to InputDaemon
Enable sensor events in input daemon, handle them in all input
passes and finally activate them at the end of the last pass.

Set "pending" status bits in firstInputPass.
I'm not sure why exactly this is necessary since it worked well without
it but other analog inputs like axes and sticks do it.
So do it for sensors as well.

Add stub functions for all new interfaces required by the InputDaemon changes
as well as a stub JoySensor class.
2022-06-25 11:17:04 +02:00
Paweł Kotiuk
1d8c2e5a3a fix: Ensure safe destruction of child elements and ensure proper linking children with parents. 2021-09-10 15:03:09 +02:00
Paweł Kotiuk
617b5604b5 fix: Use deleteLater instead of delete 2021-09-10 15:03:09 +02:00
Paweł Kotiuk
9c69fc7bfb Remove explicit deletion of buttins in destructors.
These objects are deleted automatically by parent objects.
2021-09-01 10:32:18 +02:00
Paweł Kotiuk
a5ed32008f Remove ennd of lines from the end of logs 2021-08-03 20:55:04 +02:00
Paweł Kotiuk
5706e0e5f3 Remove custom logging functions 2021-07-06 19:50:07 +02:00
Paweł Kotiuk
dc0def1048 Move log message handler from separate file to class Logger 2021-07-06 18:25:39 +02:00
Paweł Kotiuk
0e4b61e9d2 Remove excessive uses of qInstallMessageHandler().
It should be called only once
2021-07-05 18:39:26 +02:00
Gergely Gombos
8e35365c41 Remove executable permissions, BOMs, add copyright #104 (#110) 2020-12-02 11:24:14 +01:00
Paweł Kotiuk
a0c7d84b8d chore: ensure Consistent formatting of code across entire project
* Create basic config for clang-format

* Format source files using clang-format

* Add Github Action checking proper code formatting after every Pull request
2020-10-12 15:57:33 +02:00
Gergely Gombos
5d80c59fa1 chore(cleanup): rename GUI to AntiMicroX, remove antimicroX references, repo rename (#28) 2020-09-08 21:29:31 +02:00
juliagoda
8c9eb4b38a Added support for the same model of gamepads - #59 2020-06-08 23:22:21 +02:00
juliagoda
068f64d215 Created first part of faked classes 2020-06-08 17:44:24 +02:00
juliagoda
113df8df45 Removed unused variables and fixed logical statements 2020-06-08 13:59:06 +02:00
juliagoda
bd7a5eb080 Added Fixes and found memory leaks - #93 2020-04-29 20:53:21 +02:00
juliagoda
2cc6cf0b76 Removed QT_DEBUG_NO_OUTPUT variable from CMakeLists
Not needed anymore
2020-03-09 16:17:08 +01:00
juliagoda
e43667745c Added copyright informations 2020-01-07 18:19:33 +01:00
juliagoda
cf754e82cb renamed antimicro into antimicroX 2020-01-03 20:52:03 +01:00
juliagoda
4fe88756b5 Cleaned included headers in header files - #83 2020-01-02 16:17:27 +01:00
juliagoda
0bd337d706 Cleaned from GUIDs for UniqueIDs 2019-11-26 02:01:05 +01:00
juliagoda
de44beeae3 Fixes and debug - #64 2019-04-29 20:48:25 +02:00
juliagoda
c06ac72525 III part of implemented possible partial compatibility with old GUID profiles - #59 2019-04-24 22:21:22 +02:00
juliagoda
a27691a83d II part of possible compatibility for old GUID profiles - #59 2019-04-24 17:48:00 +02:00
juliagoda
04bd142217 implemented possible partial compatibility with old GUID profiles - #59 2019-04-24 15:45:48 +02:00
juliagoda
2d93393324 I part of changes from guid to uniqueID - #59 2019-03-29 17:57:01 +01:00
juliagoda
4a41132ca1 Removed hiding functions for tray icon - #62 2019-03-26 20:30:41 +01:00
juliagoda
3a6609108e Added additional step for clearing QHashes from buttons/sticks/... 2019-02-11 16:20:55 +01:00
juliagoda
20dbe3ad22 compliance with master 2018-12-05 22:25:11 +01:00
juliagoda
b6fd8d91e4 Small changes 2018-07-21 00:47:11 +02:00
juliagoda
1e349e68de Changed type-safety in connections - part I 2018-05-10 21:03:51 +02:00
juliagoda
c453d20631 Replaced QTextStream with QCommandLineParser for command line arguments 2018-04-29 23:16:59 +02:00
juliagoda
f452fe31c3 Preventing deep copying, casting enums to int and more 2018-04-26 23:04:21 +02:00
juliagoda
bfb6e948e7 Removed part of comments 2018-04-25 21:01:19 +02:00
juliagoda
186fa8360a Removed part of comments 2018-04-25 19:28:12 +02:00
juliagoda
0cbfb8229d Removed SDL 1.2.15 support because of a lack of new features 2018-04-10 20:55:32 +02:00
juliagoda
c824674233 Added function for detecting numpads 2018-04-08 18:40:29 +02:00
juliagoda
943c2083ac Forked application from AntiMicro team 2018-03-26 17:27:48 +02:00
Jeff Backus
93099d09d7 Working on debugging issue #22. Added precompiler directives to switch code from commit #fd34684 in and out. Looks like the code in addInputDevice is causing a problem... 2016-07-24 12:59:24 -04:00
Travis Nickles
3aef54d4a3 Don't double lock settings when refreshing joystick list.
Bad copy paste
2016-02-27 11:47:09 -06:00
Travis Nickles
fd34684f96 Change game controller opening routine to be a bit cleaner. 2016-02-26 14:20:16 -06:00
Travis Nickles
303fa855c0 Don't insert invalid joystick into device list.
Related to issue #293.
2016-02-17 13:22:25 -06:00
Travis Nickles
3aa0db25f6 Update unplug routine slightly. 2016-01-08 10:22:19 -06:00
Travis Nickles
6469ad0ad5 Changes to allow generic joystick axes to working for mapping again. 2015-09-21 14:35:58 -05:00
Travis Nickles
f4e6beb05c Changes on how raw device events are interpreted. Other fixes. 2015-09-21 05:47:39 -05:00