OBattler
16f4ebab9c
Mouse: Fix the if blocks in mouse_subtract_z().
2024-09-03 00:45:40 +02:00
Jasmine Iwanek
0219547a16
Put Wacom tablets on dev branch
2024-08-08 19:31:49 -04:00
Cacodemon345
f907b7817b
Microtouch support (working at least for MS-DOS, Windows 95 and Windows NT 3.5)
2024-06-12 00:06:02 +06:00
OBattler
19af46a8c2
Some more mouse helper functions and fixed the video warnings.
2024-01-17 03:59:56 +01:00
OBattler
5c5b286358
Renamed mouse_mode to mouse_input_mode to fix the conflict on Haiku OS.
2023-10-23 01:21:28 +02:00
OBattler
113776a58f
Do not add the dummy Internal mouse device.
2023-10-23 00:36:19 +02:00
OBattler
41079a4505
Fixed the serial mouse wheel.
2023-08-26 23:16:50 +02:00
OBattler
e0c1e4b3a3
Proper fix for mouse wheel inversion.
2023-08-26 22:47:32 +02:00
OBattler
a0ce900837
Temporarily disable the Wacom tablets.
2023-08-24 23:49:06 +02:00
Jasmine Iwanek
532f8ca91f
More linting in src/device
2023-08-22 23:54:06 -04:00
OBattler
b3a38c0cf1
Removed excess logging from device/mouse.c.
2023-08-13 18:45:18 +02:00
OBattler
976fe24ba1
VNC and Win32 mouse clean-ups.
2023-08-13 18:25:56 +02:00
OBattler
1958b7398d
Use absolutes instead.
2023-08-13 18:03:12 +02:00
OBattler
38e1904b71
When checking for mouse movement, use ceiling, not floor, if the coordinates are negative.
2023-08-13 17:59:19 +02:00
OBattler
3e2a31eb97
More mouse fixes (thanks, coldbrewed!), and mitigated IRQ clear spam from serial and AT NVR.
2023-08-13 17:25:45 +02:00
OBattler
d9784e524e
Attempt to make the MacOS mouse more precise.
2023-08-12 18:48:25 +02:00
OBattler
64fed5871a
And reversed the ratios.
2023-08-12 18:07:14 +02:00
OBattler
0ac3bb1620
More mouse fixes.
2023-08-12 17:56:44 +02:00
OBattler
01e7394101
Moved mouse scaling back to the emulated side, should improve mouse movement.
2023-08-12 15:59:29 +02:00
OBattler
6ceb63aacc
Do not use atomic_load() with variables that are not atomic.
2023-08-12 01:15:06 +02:00
OBattler
8f9f10f4d3
The atomic mouse coordinates now use atomic functions and mouse movement is no longer scaled by DPI if mouse coordinates are not raw.
2023-08-12 00:17:01 +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
OBattler
b1fe510c36
Removed some excess mouse logging.
2023-08-07 18:56:55 +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
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
Jasmine Iwanek
6c1e4a8e2c
Some code smell fixes from sonarlint
2023-05-15 19:25:56 -04:00
OBattler
78a897f07a
Some minor fixes, the PS/2 mouse command F0h (set remote mode) is now implemented, the PS/2 mouse command F3h (set sample rate) now actually changes the host mouse polling rate, and the Intel SIO IB and ZB now forcibly initialize a keyboard and mouse IRQ latch if the board has a PS/2 keyboard controller, to simulate the presence of a latch external to the chip.
2023-04-26 01:42:23 +02:00
OBattler
289962319f
Rewritten the PS/2 poll (without the password security state, that is yet to be done) and enabled the PS/2 KBC IRQ latch on all PCI machines as well (it is present at the very least on Intel SIO and PIIX), fixes Windows for Workgroups 3.11 input, and reduced mouse polling to 255 Hz (the maximums supported by PS/2 mice).
2023-04-08 00:40:57 +02:00
OBattler
1cf4f95836
The host mouse is now polled at 3600 Hz (the individual guest mouse types then run at their own rates), making the mouse consideraly smoother.
2023-03-30 01:39:00 +02:00
Cacodemon345
ff0a39bbaa
Add and enable Wacom ArtPad emulation
2023-03-04 11:35:10 +06:00
Jasmine Iwanek
610401de7a
Yet more clang-formatting
2023-02-28 23:53:57 -05:00
Cacodemon345
f9cd6c9b5f
Set default tablet tool to Pen
2023-02-18 01:16:16 +06:00
Cacodemon345
3884e5874b
Merge remote-tracking branch 'upstream/master' into qt-wacom-serial
2023-01-07 11:38:25 +06:00
Cacodemon345
96f7b7aa14
Add Wacom SD-510C tablet emulation
2023-01-03 16:47:20 +06:00
OBattler
06d4ae5595
Fixed VNC mouse, but the correct scale factor for X and Y has to be figured out.
2022-12-30 06:05:57 +01:00
OBattler
27ebb27db7
Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.
2022-11-17 22:44:06 +01:00
Jasmine Iwanek
bd75bc141a
Header cleanups
...
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
OBattler
7c0b0f94f7
Removed the mouse polling delay.
2022-10-22 00:53:46 +02:00
Jasmine Iwanek
9a3cabbe85
clang-format in src/device/
2022-09-18 17:19:21 -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
OBattler
6f2b93923c
A lot of fixes - everything now seems to work properly.
2022-02-03 03:10:06 +01:00
Jess Lovelace
4849deb156
added null devices and refactored tables
2022-02-02 17:48:04 -05:00
Jess Lovelace
5398143f42
obsoleting tables for internal names
2022-02-02 16:31:24 -05:00
Jess Lovelace
f18615ae87
refactored device_t and all declarations
2022-02-02 16:31:22 -05:00
OBattler
0faf6692c9
WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
...
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929 ;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
OBattler
ca55e2a12a
More reorganization and finally merged the two makefiles.
2020-06-13 12:32:09 +02:00