Commit Graph

53 Commits

Author SHA1 Message Date
Miran Grča
d0333f8350 Serial mouse: Fix a newly introduced bug. 2025-07-21 05:40:05 +02:00
Jasmine Iwanek
9aab9c41dc Add support for default baud rate on logitech serial mouse 2025-07-18 00:31:08 -04:00
Jasmine Iwanek
90ae33e487 Macro the serial port part of mouse config 2025-07-17 23:42:35 -04:00
Jasmine Iwanek
a7d54960c7 clang-format mouse_serial.c 2025-07-17 23:42:35 -04:00
Jasmine Iwanek
4d6e3db50c Some minor improvements to serial mouse code quality 2025-07-17 23:42:35 -04:00
Cacodemon345
a4a8e10427 Microsoft Serial BallPoint mouse 2025-07-18 01:41:28 +06:00
Miran Grča
7fd7c659b6 Logitech serial mouse: enable RTS toggle by default. 2025-07-16 11:38:30 +02:00
OBattler
6fc6a16be6 Fixed a few minor things with how the Mouse Systems Bus Mouse as added. 2025-04-28 11:18:57 +02:00
Cacodemon345
94a68a8698 Add Mouse Systems Bus Mouse 2025-04-28 14:26:49 +06:00
OBattler
6ab7f61c74 Serial mouse: Remove the excess logging line. 2025-04-17 01:12:39 +02:00
OBattler
37ed6662dc Serial mouse: do not attempt to transmit a byte if none is queued, fixes #5475. 2025-04-17 01:10:04 +02:00
OBattler
4806519388 The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone. 2025-02-13 00:23:35 +01:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
OBattler
8b68dec1b5 Two more strings. 2024-11-10 02:33:27 +01:00
OBattler
ea878410b0 Serial mouse, microtouch, and modem: Add some more sanity checks. 2024-09-20 13:36:01 +02:00
Alexander Babikov
b63bf09db3 Replace the hardcoded year with COPYRIGHT_YEAR
Replace the hardcoded copyright year with the COPYRIGHT_YEAR macro in the emulated Logitech serial mouse's self-report
2024-01-01 16:53:17 +05:00
Jasmine Iwanek
fc19a4698b Several fixes to compile with logging enabled 2023-12-14 15:52:04 -05:00
OBattler
42ea22e569 Properly fix serial mouse wheel. 2023-08-26 23:22:56 +02:00
OBattler
41079a4505 Fixed the serial mouse wheel. 2023-08-26 23:16:50 +02:00
Jasmine Iwanek
532f8ca91f More linting in src/device 2023-08-22 23:54:06 -04:00
OBattler
87c5c59646 Some copyright header fixes. 2023-08-14 21:13:37 +02:00
OBattler
a77a9d3c2d Fixed the Mouse Systems mouse packet format. 2023-08-14 16:52:42 +02:00
OBattler
0ac3bb1620 More mouse fixes. 2023-08-12 17:56:44 +02:00
OBattler
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +02:00
OBattler
782015a923 More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice. 2023-08-11 04:45:32 +02:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
260cb54462 Reenable the accidentally disabled RTS toggle on the Microsoft Serial Mouse. 2023-08-07 22:13:48 +02:00
OBattler
c695cb8ded Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up. 2023-08-07 18:49:58 +02:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
OBattler
8b559f1271 Fixed Y polarity in the MM Series packet format on the Logitech Serial Mouse. 2023-06-19 01:59:33 +02:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
f16f7a2464 Some minor Logitech serial mouse bug fixes and implemented the auto baud rate mode. 2023-05-02 21:53:42 +02:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Cacodemon345
96f7b7aa14 Add Wacom SD-510C tablet emulation 2023-01-03 16:47:20 +06:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
9a3cabbe85 clang-format in src/device/ 2022-09-18 17:19:21 -04:00
Jasmine Iwanek
50ef360282 src/device 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
a7edaf0608 src/device 2022-03-13 09:28:28 -04:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
OBattler
a909d08e6f Changed a #define in device/mouse_serial.c, should make the serial mouse use the normal period on the interpreter even on builds with the new recompiler. 2021-11-30 17:10:19 +01:00