English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 04 May 2023, 14:17   #21
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,337
There is something like that called megapointer on Aminet.
meynaf is offline  
Old 04 May 2023, 16:18   #22
grond
Registered User
 
Join Date: Jun 2015
Location: Germany
Posts: 1,920
How about just moving some sprites that copy/magnify the current mouse pointer exactly to the place where the mouse pointer is? This way the only evil thing would be reading the current pointer data.
grond is offline  
Old 05 May 2023, 19:34   #23
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,895
That's a good idea - just need to know how to actually replace the pointer and how to access pointer image.
Havie is offline  
Old 07 May 2023, 03:41   #24
PerspexSphinx
Registered User
 
Join Date: Feb 2018
Location: Canada
Posts: 56
Hi,

I don’t think it’s a useless idea for a Tool at all…

In TV Paint I constantly lost the mouse pointer, until I came across a tip to use MarkMouse…

aminet:
util/cdity/MarkMouse.lha

This program draws "radar like" circles around the mouse pointer if a hot
key combination is pressed, to locate the position of the mouse pointer
easily…

it’s also kinda neat…

Unfortunately the download does not include the source code, so I don’t know how helpful this is?
PerspexSphinx is offline  
Old 07 May 2023, 22:51   #25
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
This tool only draws on the screen, it does not modify the pointer at all, but the intention is exactly to make the pointer easier to spot temporarily. For that, it locks the layers of the screen and draws circles in COMPLEMENT around the pointer.

Other alternatives to improve visibility are to use the BIGSPRITE option of P96, this doubles the size of the pointer.

Anyhow, what's wrong with MarkMouse? Is there a particular reason why that program does not solve the problem? (This said, its sources are not lost, they are just not public).
Thomas Richter is offline  
Old 08 May 2023, 17:11   #26
grond
Registered User
 
Join Date: Jun 2015
Location: Germany
Posts: 1,920
Quote:
Originally Posted by Havie View Post
That's a good idea - just need to know how to actually replace the pointer and how to access pointer image.
I am not sure I have explained my idea well enough. You'd just need to find the current mouse coordinates and its current image data, then you could use two of the remaining hardware sprites to display a bigger version of the mouse pointer in the place the mouse pointer is. No replacing the mouse pointer necessary.

I would assume you can find the pointer data and position by looking at the Workbench screen's copper list.
grond is offline  
Old 08 May 2023, 21:23   #27
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
Just note that there may not be any additional sprites. Either because the hardware only has one sprite, or because display DMA starts early enough to leave sufficient cycles for the sprite DMA.
Thomas Richter is offline  
Old 28 May 2023, 14:03   #28
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,638
This is a problem on all OSes
Having a way of letting the pointer say "hello, here I am!" is very useful if you have many windows open, yet switch between them using keyboard shortcuts and use the programs with keyboard-only most of the time. (Chat, text editors, coding IDEs.)

Thin is invisible
The pointer can transform into a thin crosshair or thin text cursor, or similar shapes or colors that can be difficult to detect.

In the above case, the pointer is most usually left where you typed last, and has probably transformed into a thin vertical line. (How users with 14" 4K resolution laptop screens ever find where the next character will be inserted in a text editor, I have no idea.)

It really has nothing to do at all with how well you can see
The text cursor pointer is too small, too thin, and too dull to see, period. Nobody can see it. That why we waste time looking around for it, or press left-right-left-right. And do that a few times. Until we see that thing that is designed to be undetectable.

Such a pointer sprite is just a few pixels. There's not much you can do to increase visibility. Hence the option to mark it on demand - circle on Windows and huge size cursor if you shake your mouse violently on Mac. (In Windows, you can bind an extra mouse button to CTRL. It looks very ugly indeed, but it locates the cursor for you.)

And with multiple monitors it's ofc twice, three times as useful.

Flatscreen monitors
Some aspects of visibility are worse on flatscreens. These have motion blur that make especially small moving things like mouse pointers blurred and ghosted. Cue the pointer trail, which is another method.

Amiga OS
In native Amiga chipset modes, the resolution is lower. But even here, some programs can set the pointer image to one that is difficult to spot.

If you can edit each type of pointer image and their colors, you could try more muted WB colors as backdrop, then magenta as a good color that pops, and make all of them as large as you can.

With animated pointer support, you can see the pointer at all times: put e.g. a 3x3 dot that toggles between white and black in the middle of each pointer.

Pointer hacks
Hacking the standard mouse pointer is often messy and might not give the desired result. It's at the core of Amiga OS, and so many roads here are blocked. Which is sensible, too: if a program can do this too easily, a bug could render the entire OS unusable(!)

Less hacky hacks
That said, in native Amiga chipset modes*, you can get access to the Copper of the frontmost Screen on Kick/WB 1.3-3.1, and e.g. add a horizontal Copper bar using the background color, at the Y position of the pointer. This would then look like in a spreadsheet, where the current row is highlighted (or e.g. in some text editor, where the currently edited line is).

This might be enough to locate the pointer, because you could just move the mouse very slightly and still get a clear indication.

But even that modest mod comes with caveats: It must be able to handle dragging Screens without messing up the Copper waits. The simplest way would be to not show the bar if the left mouse button is down, but you must still handle CWAITS on the same line you want to start/end your bar. There might also be edge cases you can't envisage.

* Productivity mode is a special mode that is handled slightly differently.

Last edited by Photon; 28 May 2023 at 14:27.
Photon is online now  
Old 28 May 2023, 15:41   #29
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,251
Quote:
Originally Posted by Photon View Post
This is a problem on all OSes
Having a way of letting the pointer say "hello, here I am!" is very useful if you have many windows open,
Have you looked at or tried MarkMouse?
Quote:
Originally Posted by Photon View Post
In native Amiga chipset modes, the resolution is lower. But even here, some programs can set the pointer image to one that is difficult to spot.
You have tried the big sprite tool type of P96?
Quote:
Originally Posted by Photon View Post
But even that modest mod comes with caveats: It must be able to handle dragging Screens without messing up the Copper waits.
Note that user copper lists adjust the wait positions according to the VPort they are located on. So *that* is not a problem. Thus, in conclusion, there are already many options to solve that problem.
Thomas Richter is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter mask on the fly change weird behavior mcbpete support.WinUAE 2 04 September 2018 20:47
Mid-line bitplane pointer change? NorthWay Coders. Asm / Hardware 10 26 September 2015 13:45
Mouse Pointer Washac support.WinUAE 2 19 February 2012 20:57
How to change Mouse Pointer in AmigaSYS4 fitzsteve support.Apps 8 26 August 2010 16:21
Mouse pointer Washac support.Other 4 12 February 2010 01:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07666 seconds with 13 queries