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 Bug Reports > sure, it is probably wrong thread
2018-09-06 01:57
PAL

Registered: Mar 2009
Posts: 269
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
Account closed

Registered: Jan 2018
Posts: 212
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
chatGPZ

Registered: Dec 2001
Posts: 11073
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
Account closed

Registered: Jan 2018
Posts: 212
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
chatGPZ

Registered: Dec 2001
Posts: 11073
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: 254
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
Account closed

Registered: Jan 2018
Posts: 212
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: 443
@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
Account closed

Registered: Jan 2018
Posts: 212
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
chatGPZ

Registered: Dec 2001
Posts: 11073
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
Account closed

Registered: Jan 2018
Posts: 212
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
Mythus/Delysid
Mike
psych
jmin
wil
Mibri/ATL^MSL^PRX
wacek/arise
WVL/Xenon
t0m3000/ibex-crew
Harry/Alivers
Airwolf/F4CG
JackAsser/Booze Design
Guests online: 196
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 No Sprites  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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