Jos van Mourik
bc5b6b71c4
Cleanup
2024-10-11 22:44:32 +02:00
Jos van Mourik
a25892664a
Add NVR saving for calibration data, cleanup
2024-10-11 22:33:46 +02:00
Jos van Mourik
09bbbacede
Refer to microtouch struct as dev in all functions
2024-10-08 20:42:47 +02:00
Jos van Mourik
b493b41ab2
Implement touchscreen calibrate extended
2024-10-06 01:12:21 +02:00
OBattler
ea878410b0
Serial mouse, microtouch, and modem: Add some more sanity checks.
2024-09-20 13:36:01 +02:00
Jos van Mourik
4b9ee9d591
Fix compiler warning
2024-09-15 21:37:43 +02:00
Jos van Mourik
b2dcc4f1b2
Decouple mouse polling from serial speed, add software baud selection, remove baud menu option
2024-09-15 17:47:06 +02:00
Jos van Mourik
2b4b9aae64
Cleanup
2024-09-15 03:13:54 +02:00
Jos van Mourik
22240a5925
Code style cleanups, optimize if statement order
2024-09-15 01:56:45 +02:00
Jos van Mourik
866d6599a1
Implement Mode Point and Mode Down/Up. Merge HEX/DEC functions in order to do so efficiently. Optimize.
2024-09-15 01:18:37 +02:00
Jos van Mourik
01c463df74
Add command handling for more output modes. Fix Reset behavior.
2024-08-04 16:12:10 +02:00
Jos van Mourik
db159ecb11
Add output status command
2024-08-04 14:27:47 +02:00
Jos van Mourik
7692abb60c
A liftoff should keep the old touch location
2024-08-04 01:04:09 +02:00
Jos van Mourik
09dad6f6b7
Command handling updates
...
- Always return <SOH>0<CR> (success) for commands to greatly increase compatibility with unknown command.
- Remove empty commands because of this.
- Remove command wrapper function.
- Fix compiler warnings.
- Fix unit type string for SMT2/3.
- Guard for empty commands.
2024-08-04 00:19:40 +02:00
Jos van Mourik
282d4e0c70
Formatting, use selected bauddrate for serial retry timing too
2024-08-02 15:09:52 +02:00
Jos van Mourik
49d71c19ba
Commands cleanup
...
- Return 0 for unknown commands instead of 1, to not lock up software.
- Add a few extra unknown commands.
- Sort commands alphabetically to keep this mess organized.
- Don't capitalize commands as no software i know needs it.
2024-08-02 01:24:00 +02:00
Jos van Mourik
40dcbaa10e
Implement Mode Status
2024-08-02 00:16:49 +02:00
Jos van Mourik
3b2072ac8c
Change mouse poll rate per mode to reflect serial write speed, optimize serial fifo lengths
2024-08-01 22:40:20 +02:00
Jos van Mourik
94bffa104a
Set CTS/DSR/DCD high like a real Microtouch
2024-08-01 20:47:15 +02:00
Jos van Mourik
fcec4a40f9
Cleanup/bugfix
2024-07-30 20:09:13 +02:00
Jos van Mourik
796e7bbe19
Update TODO
2024-07-29 21:51:44 +02:00
Jos van Mourik
066bd35f1a
Optimize Format Tablet
...
Remove touchdown packet from Format tablet liftoff.
Does not cause issues for windows 95 or DOS.
2024-07-29 21:31:36 +02:00
Jos van Mourik
1eb24bf69b
Add Format Decimal and make it default for legacy controller modes
2024-07-29 21:01:54 +02:00
Jos van Mourik
37538fd932
Correct MT format variables, to not confuse them with MT modes
2024-07-29 20:36:21 +02:00
Jos van Mourik
2616c66854
Add controller identity menu option
2024-07-29 20:28:20 +02:00
Jos van Mourik
51cd31b885
Use wrapper function for Microtouch replies
2024-07-29 18:54:06 +02:00
Jos van Mourik
6d4bd6d6f8
Megatouch MAXX WIP
...
- Fix soh bug to only proces full commands,
- Print unhandled commands too,
- Temporarily change identity to SMT3.
2024-07-27 20:14:22 +02:00
Jos van Mourik
04a7a35f27
Microtouch: add option to turn off visible mouse crosshair for people using touchscreens
2024-07-26 20:12:10 +02:00
Jos van Mourik
66d2cc6101
Cleanup
2024-07-26 02:11:21 +02:00
Jos van Mourik
bd58ad48da
Refactor code, make format tablet calibration not happen automatically
2024-07-26 01:19:12 +02:00
Jos van Mourik
4762d2bec0
Update comments
2024-07-25 22:25:54 +02:00
Marcos Alves
de10429567
Updated description of Microtouch Emulation
...
As it now emulates more protocols than the TouchPen, I figured it'd be better defined as just 3M Microtouch (as it now does part of SMT3(V) and TouchPen 4
2024-07-22 02:02:41 +01:00
Jos van Mourik
d89d9c65f7
Minor cleanup
2024-07-21 17:52:42 +02:00
Jos van Mourik
b490779990
Add Mode Hexadecimal to allow Photo Play games to work with touch
2024-07-21 01:03:55 +02:00
Cacodemon345
95d7fa828b
Fixes for calibration and baud rate workaround
2024-06-12 00:24:58 +06:00
Cacodemon345
ef7b4044ef
Report finger touches if in Pen or Finger mode
2024-06-12 00:06:03 +06:00
Cacodemon345
c71ca84d81
Emulate a TouchPen instead
2024-06-12 00:06:03 +06:00
Cacodemon345
9faf4dc765
Stubbed Set Parameter Block command
2024-06-12 00:06:03 +06:00
Cacodemon345
fe5ce50863
Stubbed Get Parameter Block command
2024-06-12 00:06:03 +06:00
Cacodemon345
4fe7090047
Apply clang-format
2024-06-12 00:06:03 +06:00
Cacodemon345
34ec412bae
Cleanups and copyright text
2024-06-12 00:06:02 +06:00
Cacodemon345
d9fa8bbb4a
Implement calibration
2024-06-12 00:06:02 +06:00
Cacodemon345
754f304deb
Overscan handling
2024-06-12 00:06:02 +06: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