Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > VICE 3.7.1 testers needed (Mouse emulation)
2023-02-03 19:22
chatGPZ

Registered: Dec 2001
Posts: 11148
VICE 3.7.1 testers needed (Mouse emulation)

So!

Apparently we have a strange bug related to mouse emulation on Windows systems. It would be great if all of you could do a quick test:

- grab the 3.7.1 release from https://github.com/VICE-Team/svn-mirror/releases/tag/3.7.1
- start it and reset settings (just incase it picks up settings from another release)
- enable 1351 mouse emulation for port 1
- run the following program: Mousetest V2
- now enable mouse grab (alt-m) and move around the mouse

Now if that does NOT move the 1351 icon as expected, please report that, and give some details about your system. In particular interesting is the exact OS (eg "Windows 10 22H2"), your graphics card and driver version, and your screen resolution...

Some people reported it does not work for them - while it works for others. This is very strange, we could not yet determine what the systems where it does not work have in common - hence this request.

Thanks in advance!
 
... 25 posts hidden. Click here to view all posts....
 
2023-02-05 19:20
chatGPZ

Registered: Dec 2001
Posts: 11148
ERROR_ENVVAR_NOT_FOUND

203 (0xCB)

The system could not find the environment option that was entered.

It's getting weirder and weirder >_<
2023-02-05 22:22
Angel of Death

Registered: Apr 2008
Posts: 210
Quote:
ERROR_ENVVAR_NOT_FOUND

203 (0xCB)

The system could not find the environment option that was entered.

It's getting weirder and weirder >_<


(In my best NPC voice): "Unfortunately this is all I can do to aid you, wise Wizard. I wish you the best of luck on your quest!"
2023-02-05 22:34
chatGPZ

Registered: Dec 2001
Posts: 11148
Here is another possible fix (available in half an hour or so):

https://github.com/VICE-Team/svn-mirror/releases/tag/r43064

Please try again :)
2023-02-06 00:18
CreaMD

Registered: Dec 2001
Posts: 3036
When I had two monitors, only up and down movement worked properly. When I disconnected second monitor, disabled mouse grab and did ALT+M again it started to behave ok.

On fullscreen (ALT+D) it has weird acceleration, but I actually don't know how the mouse behaves on real C64, plus mouse sensitivity setting might be the factor (I played with it and it seemed to behave a bit less acceleratey). If I can say from my limited experience with C64 mouse/mouse emulation, it seems to work now.
2023-02-06 00:31
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: Here is another possible fix (available in half an hour or so):

https://github.com/VICE-Team/svn-mirror/releases/tag/r43064

Please try again :)


The plot thickens...
There is improvement!
(I can't do decent screen capture, so here's a written report)
It is still not possible to move the mouse into the VICE window the normal way. As soon as I activate Mouse-Grab the mouse jumps back to the center of the main screen (irreverent of the VICE window position) and as soon as I try to enter the window on the edge I see the cursor change to the resize window version for a very short time before being sent back to the center of the main screen.
But... There is an old Windows trick (bug) to work around that and which I have been using. When I keep the left button pressed and use the "drag selection window" function you can enter any window, whatever the state of it. And once you are in the window nothing happens because the window thinks the pressed button is the normal state and it's function is reversed.
So when I release the button and keep it pressed again then the window starts registering the mouse movement.
In the other versions the test sprite was moving completely irradical. In this version the test sprite moves as it should.
Long story but I think you're halfway there.
btw. Here's the log:

AUTOSTART: Done.
Sync reset
GTK3MOUSE: Status changed: 1 (enabled)
mouse move 2273.000000, 633.000000 GetCursorPos: 824, 519
mouse move 2273.000000, 631.000000 GetCursorPos: 824, 517
mouse move 2272.000000, 632.000000 GetCursorPos: 823, 518
-
(a lot of mouse movement without problems is cut out here)
-
mouse move 2273.000000, 632.000000 GetCursorPos: 824, 518
mouse move 2272.000000, 631.000000 GetCursorPos: 823, 517
mouse move 612.000000, 450.000000 GetCursorPos: -837, 336
mouse move 619.000000, 188.000000 GetCursorPos: -830, 74
mouse move 610.000000, 502.000000 GetCursorPos: -839, 388
Initiating render thread 0 shutdown
2023-02-06 13:11
chatGPZ

Registered: Dec 2001
Posts: 11148
OK So, those where it doesnt work, please try the following: before you enable "mouse grab", move the VICE window to the center of the screen, and place the mouse pointer in the center of the VICE window. NOW press ALT-M. Acoording to the current working theory this should then make it work. Does it?
2023-02-06 15:22
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: OK So, those where it doesnt work, please try the following: before you enable "mouse grab", move the VICE window to the center of the screen, and place the mouse pointer in the center of the VICE window. NOW press ALT-M. Acoording to the current working theory this should then make it work. Does it?

Did some more testing on different positions on the screen and the mouse is not necessarily placed in the center of the main screen as such but as far as I can see displaced one screen width to the right.

+---------.+ +---------.+
+---s2----+ +----s1---+
+---------.+ +---------.+
+---------.+ +---------.+

(screen size for both is 1920x1080)
eg. VICE is in center screen s2, mouse reappears in center s1.
Move VICE anywhere on s2 and mouse reappears one screen width to the right of it but on the same Y coordinate.
If VICE is started somewhere on s1 the mouse will reappear on the right most edge of s1 (no desktop there so can't go any further).

Here's the log:
AUTOSTART: Done.
Sync reset
GTK3MOUSE: Status changed: 1 (enabled)
mouse move 705.000000, 492.000000 GetCursorPos: 1207, 669
mouse move 700.000000, 344.000000 GetCursorPos: 1202, 521
mouse move 669.000000, 492.000000 GetCursorPos: 1171, 669
mouse move 562.000000, 351.000000 GetCursorPos: 1064, 528
mouse move 691.000000, 303.000000 GetCursorPos: 1193, 480
mouse move 1416.000000, 631.000000 GetCursorPos: 1918, 808
mouse move 1415.000000, 628.000000 GetCursorPos: 1917, 805
mouse move 1415.000000, 627.000000 GetCursorPos: 1917, 804
mouse move 1414.000000, 625.000000 GetCursorPos: 1916, 802
mouse move 1414.000000, 626.000000 GetCursorPos: 1916, 803
mouse move 1414.000000, 625.000000 GetCursorPos: 1916, 802
mouse move 1416.000000, 631.000000 GetCursorPos: 1918, 808
-
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 633.000000 GetCursorPos: 1919, 810
mouse move 1417.000000, 633.000000 GetCursorPos: 1919, 810
mouse move 1417.000000, 631.000000 GetCursorPos: 1919, 808
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 688.000000, 415.000000 GetCursorPos: 1190, 592
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
mouse move 1417.000000, 634.000000 GetCursorPos: 1919, 811
-
mouse move 1417.000000, 631.000000 GetCursorPos: 1919, 808
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 1417.000000, 632.000000 GetCursorPos: 1919, 809
mouse move 440.000000, 8.000000 GetCursorPos: -965, -163
mouse move 686.000000, 32.000000 GetCursorPos: -719, -139
mouse move 695.000000, 407.000000 GetCursorPos: -710, 236
(moved VICE window to second screen coords+1920)
mouse move 2274.000000, 632.000000 GetCursorPos: 869, 461
mouse move 2275.000000, 634.000000 GetCursorPos: 870, 463
mouse move 2275.000000, 634.000000 GetCursorPos: 870, 463
mouse move 2277.000000, 640.000000 GetCursorPos: 872, 469
mouse move 2279.000000, 641.000000 GetCursorPos: 874, 470
-
mouse move 2273.000000, 631.000000 GetCursorPos: 868, 460
mouse move 2272.000000, 631.000000 GetCursorPos: 867, 460
mouse move 2272.000000, 632.000000 GetCursorPos: 867, 461
mouse move 2272.000000, 631.000000 GetCursorPos: 867, 460
GTK3MOUSE: Status changed: 0 (disabled)
2023-02-07 22:50
aNdy

Registered: Jan 2004
Posts: 41
Now using 3.7.1 r43064...

Running x64sc.exe
Dell G15 Ryzen Edition Laptop
Windows 11 Home 21H2 (build 22000.1455)
1920x1080
NVIDIA GeForce RTX 3050 Laptop GPU (Driver 30.0.15.1277)
No touchscreen or second monitor

Test WORKS using both built in track-pad and USB wireless mouse.
2023-02-07 23:00
chatGPZ

Registered: Dec 2001
Posts: 11148
I think to reproduce the problem the following is needed:
- two monitors
- a relatively high display resolution (1920xsomething or so at least)
2023-02-08 18:51
Angel of Death

Registered: Apr 2008
Posts: 210
Quote: I think to reproduce the problem the following is needed:
- two monitors
- a relatively high display resolution (1920xsomething or so at least)


This weekend I hope I'll have the opportunity to test that properly.
"I'll be back..."
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
QuasaR/CENTRiC
tlr
Airwolf/F4CG
The Syndrom/TIA/Pret..
Sentinel/Excess/TREX
Jammer
MCM/ONSLAUGHT
zscs
Guests online: 115
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Aliens in Wonderland  (9.6)
7 No Bounds  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.081 sec.