1813 Commits

Author SHA1 Message Date
Paweł Kotiuk
22e7e860e4 chore: Code cleanup. Add some result checks 2026-06-29 21:32:50 +02:00
Paweł Kotiuk
e3459c0c73 chore: clang-tidy code cleanup 2026-06-22 22:38:34 +02:00
throwaway652
c36cd2cd46 fix: Correct grammar mistake in message 2026-06-04 13:43:55 +02:00
Vaguul
3ddaad7122 fix: changelog external links (#1330)
Authored-by: vuguul <88252044+vuguul@users.noreply.github.com>
2026-06-04 13:43:02 +02:00
Paweł Kotiuk
098f4742f9 fix: Missing dot in numeric keyboard 2026-05-29 13:40:42 +02:00
Paweł Kotiuk
fdd02a1488 refactor: organize header files into logical groupings
Move button components and UI widgets to src/gui/
Move sensor components to src/sensors/ with dedicated README
Update CMakeLists.txt to reflect new file locations

- Button components: joybuttonslot, joybuttonstatusbox, joybuttoncontextmenu, joybuttonmousehelper
- UI widgets: axisvaluebox, stickpushbuttongroup, sensorpushbuttongroup, simplekeygrabberbutton
- Sensor components: joysensor and all sensor types/variants
- Added comprehensive documentation for sensors subsystem

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 21:46:30 +02:00
Kolja Lampe
bf69400656 fix(tray): fix blank tray icon on Wayland
Rename the tray icon from 'antimicrox_trayicon' to
'io.github.antimicrox.antimicrox.trayicon' so that Flatpak exports it
to the host (Flatpak exports icons matching $FLATPAK_ID.foo patterns).
2026-05-23 00:19:07 +02:00
Paweł Kotiuk
708cb8c985 fix: Add identifier checks for event Handler factories to handle scenario with disabled X11 support 2026-05-20 23:20:49 +02:00
Paweł Kotiuk
7c5ea5627b fix: QT5 fallback 2026-05-20 23:01:50 +02:00
Paweł Kotiuk
f1cfcff230 chore: Fix compilation warnings
add file open checks
stop using deprecated signal
add some warnings in logs
2026-05-17 22:32:14 +02:00
Paweł Kotiuk
858307bec1 fix: key assignment dialog for wayland 2026-03-24 19:58:03 +01:00
Paweł Kotiuk
d36dd30481 chore: Add log to inform about platform name 2026-03-24 19:58:03 +01:00
Paweł Kotiuk
208c2b6030 chore: Remove unused methods 2026-01-14 18:16:33 +01:00
Paweł Kotiuk
319495f691 chore: docstring cleanup 2026-01-12 21:34:17 +01:00
Paweł Kotiuk
83950b2b31 docs: Generate description for QtKeyMapperBase and AntKeyMapper
[skip ci]
2025-12-30 00:39:12 +01:00
Paweł Kotiuk
20be0a4efb refactor: Remove unused code 2025-12-29 20:32:29 +01:00
Paweł Kotiuk
2ec13c1c94 refactor: Remove useless cast 2025-12-29 20:32:29 +01:00
Paweł Kotiuk
9cbbf6ba81 refactor: Remove unused includes 2025-12-29 20:17:43 +01:00
Paweł Kotiuk
bb50906ced chore: initialize AntKeyMapper members only when they are needed 2025-12-28 21:33:06 +01:00
Paweł Kotiuk
53aa3285df docs: Describe class SimpleKeyGrabberButton 2025-12-28 21:18:14 +01:00
Jonathon Hall
742387f758 feat: d-bus: Add method to get the current set name for a device 2025-12-28 08:49:37 -05:00
Jonathon Hall
11145d97e1 feat: Register a D-Bus service and interfaces for input devices
Register a D-Bus service named io.github.antimicrox.  Request to own that
service name in the Flatpak manifest.

Register each InputDevice object on D-Bus.  Currently there is one method,
setActiveSetNumber().
2025-12-28 08:49:37 -05:00
dabigjhall
84bfb4167c refactor: inputdevice: Simplify usage of setActiveSetNumber (#1260)
* refactor: inputdevice: Simplify usage of setActiveSetNumber

Reset button-down count and propagate the change within setActiveSetNumber()
rather than relying on callers to do it.

InputDevice no longer needs to hook up resetButtonDownCount() and
propogateSetChange() to SetJoystick::setChangeActivated, remove them.

JoyTabWidget no longer needs to explicitly change its own tab after setting the
active set, remove those.

JoyTabWidgetHelper no longer needs to explicitly reset the button-down count
when changing set, remove those.

The next commit will add a D-Bus interface to set the active set, and this
change makes setActiveSetNumber() suitable for this purpose.
2025-12-26 16:13:06 +01:00
Sean Cross
805a323cc5 fix: joystickstatuswindow: defer deletion of window upon close (#1229)
Defer deleting the window when it's closed until after the main loop has
run. This prevents a segfault when the window is closed for
controllers with accelerometers and gyroscopes, such as DualSense
controllers.

Signed-off-by: Sean Cross <sean@xobs.io>
2025-09-03 22:31:28 +02:00
Paweł Kotiuk
2cd68b1ab7 fix: Use warning log level by default as stated in man. 2025-04-14 20:21:31 +02:00
towermom9
e0971475f6 chore: change copyright 2013 - 2022 to copyright 2013 - 2025 (#1143) 2025-03-06 07:43:47 +01:00
Gergely Gombos
55c89ccc26 fix: Fedora 42 build (#1126)
Fixes build error here: https://koji.fedoraproject.org/koji/taskinfo?taskID=127932100
F42 is coming, and probably there are some C++ standard library changes.
You can find the full F42 changelist here: https://fedoraproject.org/wiki/Releases/42/ChangeSet#GNU_Toolchain_Update_(gcc_15,_binutils_2.44,_glibc_2.41,_gdb_15+)
2025-01-28 16:11:36 +01:00
Paweł Kotiuk
a9c341d73e feat: Re-enable next option
Linked issue: https://github.com/AntiMicroX/antimicrox/issues/189
Linked discussion: https://github.com/AntiMicroX/antimicrox/discussions/774
2024-12-08 18:54:35 +01:00
Reilly Brogan
254e95c054 fix: wayland appId (#1100)
Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2024-12-01 14:11:03 +01:00
Paweł Kotiuk
a75c88be91 chore: Remove unused code linked with USE_NEW_REFRESH 2024-11-24 15:29:47 +01:00
Paweł Kotiuk
29b960726a chore: Add proper note informing about lack of Wayland support for Auto Profiles 2024-11-17 17:49:48 +01:00
Paweł Kotiuk
52eeda1f1a chore: Describe Auto Profile functionality in coressponding settings window 2024-11-17 17:49:48 +01:00
Paweł Kotiuk
96e558d128 fix: ensure printing some startup logs (before proper initialization of logger) 2024-11-17 14:17:54 +01:00
Paweł Kotiuk
7cfea014c4 chore: Remove repetetitive logs reporting number of buttons and axes 2024-11-17 14:17:54 +01:00
Paweł Kotiuk
d378877a5c refactor: Remove unused funtion findWinConfigPath 2024-10-27 15:44:42 +01:00
Paweł Kotiuk
e0343b2f40 fix: Wrong Keyboard Input on Assignment (Wayland) (#1063) 2024-10-23 17:43:48 +02:00
Paweł Kotiuk
ba958c2ab8 fix: Set change sometimes returns to wrong set
Linked issue with diagnosis: https://github.com/AntiMicroX/antimicrox/issues/1050
2024-10-22 17:46:45 +02:00
Paweł Kotiuk
dea521e0e4 chore: Fix QString count() deprecation warning 2024-10-20 13:54:34 +02:00
Ryan Hendrickson
2f7b66be19 fix: update wheelEventHorizontal code to match wheelEventVertical 2024-09-08 18:20:36 +02:00
Ryan Hendrickson
d87a5df938 fix: button 6 is wheel left; button 7 is wheel right 2024-09-08 18:17:50 +02:00
pepper-jelly
05db50beed fix: rest accel while changing set, fix #991 (#1015)
PR: https://github.com/AntiMicroX/antimicrox/pull/1015
2024-07-31 22:47:07 +02:00
pepper-jelly
bdb2ac294e fix: Auto Reset Cycle After #1002
PR: https://github.com/AntiMicroX/antimicrox/pull/1013
2024-07-31 22:44:15 +02:00
pepper-jelly
8a1d1479cb make accelerometer stable
I've noticed an issue when pitching forward or backward. I expect only the "up" or "down" directions to be registered, but instead, "left" and/or "right" are also triggered for a brief period.
2024-07-27 23:18:16 +03:00
Paweł Kotiuk
5de8c257cf chore: Update maximum possible deadzone in UI 2024-07-02 21:45:43 +02:00
Paweł Kotiuk
594fd5a997 chore: Add logs for mapping window 2024-07-02 21:45:43 +02:00
Paweł Kotiuk
19d5baa60e fix: Converting LPCWSTR with QT6 2024-05-31 12:01:48 +02:00
Paweł Kotiuk
4f9f917a88 fix: Logger compatibility with WIndows and QT 6 2024-05-31 12:01:08 +02:00
Paweł Kotiuk
da496f8b9e chore: Drop Windows XP support 2024-05-31 11:32:00 +02:00
Paweł Kotiuk
ff086a1501 chore: Remove unused type from logger 2024-05-05 22:44:19 +02:00
Paweł Kotiuk
ce07536c02 chore: ensure proper string format to use with conversion 2024-04-14 17:49:35 +02:00