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


Forums > CSDb Bug Reports > sure, it is probably wrong thread
2018-09-06 01:57
PAL

Registered: Mar 2009
Posts: 221
sure, it is probably wrong thread

... but I was so unfortunate to set mouse to eat all my mouse moves in Vice, so now I can not get it to not eat all mouse moves again and am stouck with a halty vice?!?! How can I set tis to difer as I had as always save config when closing the Vice? Anyone know? I am stuck in wrong settings.
 
... 14 posts hidden. Click here to view all posts....
 
2019-01-16 12:57
Golara

Registered: Jan 2018
Posts: 130
BTW, I think I've got the SDL version of vice, not GTK. I got it confused, because previously I had vice with the grey GUI, drop-list based appearing after left or right mouse click. The version I've got now doesn't have any GUI, options are just white text on black background in the main window... which is fine because you can put a hotkey on all these options. But the mouse cursor not being drawn is annoying.
2019-01-16 13:15
Groepaz

Registered: Dec 2001
Posts: 9021
thats SDK then, indeed :) and yes, it hides the mouse pointer completely (which is better than not at all, IMHO).
2019-01-16 13:35
Golara

Registered: Jan 2018
Posts: 130
Quote: thats SDK then, indeed :) and yes, it hides the mouse pointer completely (which is better than not at all, IMHO).

I'd make it optional. I understand you want to hide it like some video player, if it did disappear when not moving it would not be such a problem. Maybe I will just find the code that hides the mouse and comment it out.
2019-01-16 14:24
Groepaz

Registered: Dec 2001
Posts: 9021
it probably should be changed to delay some seconds, indeed. feel free to send your patch :)
2019-01-16 14:42
Perplex

Registered: Feb 2009
Posts: 217
Quoting ChristopherJam
TBH my actual Makefile uses "open" which just loads it into currently running vice/cocoa instance.

Getting that to work under MacOS with vice/gtk is somewhere on my todo list.


Easily accomplished using the remote monitor and a kernal patched to bypass memory test during reset. Send 'reset', wait .1 seconds, send 'load "your.prg" 0', and finally send 'g 080d' or whatever is the start address of your code.
2019-01-16 15:58
Golara

Registered: Jan 2018
Posts: 130
Quote: it probably should be changed to delay some seconds, indeed. feel free to send your patch :)

Found this
 *  - Otherwise, the cursor is visible as a normal mouse pointer as
 *    long as it's been 60 or fewer ticks since the last time the
 *    mouse moved.

This doesn't work on my computer at all, the mouse is always invisible even when I move it around (till it leaves the window area of course) so it seems like a bug. I'll try to fix it I suppose.
EDIT: This comment is in the arch/gtk3, so I guess this functionality works in GTK3 but SDL has the cursor always hidden.
EDIT2: Found the code and there's even TODO to implement that timer thing.. I'll try to make it and submit a patch
2019-01-17 01:23
spider-j

Registered: Oct 2004
Posts: 179
@Golara: same here on my laptop - mouse pointer disappears as soon as it hits the window. arch linux vice package from community repo.
2019-01-17 13:11
Golara

Registered: Jan 2018
Posts: 130
Quote: @Golara: same here on my laptop - mouse pointer disappears as soon as it hits the window. arch linux vice package from community repo.

Well, making the cursor not go away is simple, you just need to replace SDL_ShowCursor(SDL_DISABLE) to SDL_ShowCursor(SDL_ENABLE) in src/arch/sdl/ui.c
But I'll try to implement that timer like on GTK3. Actually I've got the code already, I'm just thinking where I should be getting ticks from. Right now I just made the main rendering loop increment my counter, but that's dirty.
2019-01-17 13:13
Groepaz

Registered: Dec 2001
Posts: 9021
there is an event system in VICE for cycle exact events... you could use that. just incrementing a counter each frame seems quite OK for this task though, simple and effective :)
2019-01-17 18:09
Golara

Registered: Jan 2018
Posts: 130
I've submit the patch on sourceforge
Previous - 1 | 2 | 3 - 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
Mike
Holy Moses/Role
Lavazza/Censor Design
logiker
The Dark Judge
la-style/G*P
knue
Majikeyric/HokutoForce
Guests online: 61
Top Demos
1 Unboxed  (9.7)
2 Uncensored  (9.7)
3 Comaland 100%  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 C=Bit 18  (9.6)
10 X Marks the Spot  (9.5)
Top onefile Demos
1 Smile to the Sky  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 Dawnfall V1.1  (9.4)
4 FMX Music Demo  (9.4)
5 Crystal Gazer  (9.4)
6 Rewind  (9.4)
7 Pandemoniac Part 2 o..  (9.4)
8 Official X2018 Report  (9.4)
9 Arok 20 Invitation  (9.4)
10 Party Horse  (9.3)
Top Groups
1 PriorArt  (9.7)
2 Performers  (9.5)
3 Oxyron  (9.5)
4 Booze Design  (9.4)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Splatterhead  (9.8)
3 Zyron  (9.8)
4 Walker  (9.7)
5 Acidchild  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.057 sec.