Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: xeron on July 02, 2007, 02:39:47 PM
-
BuZz is trying to fix a problem with mousewheel support in the OS3.x build of HivelyTracker, without actually having a wheelmouse. (On OS4, I use the OS4 mousewheel API and on OS3 BuZz uses the newmouse standard.)
It seems that the newmouse stuff sends both a mousewheel up/down event as well as a cursor up/down event. Is there any way to filter out cursor up/down rawkey events generated by the newmouse driver?
-
Hello
Effectively, mousewheel events are translated in RAWKEY (very strange for a mouse!)
here my include name and constant I use for my ANAIIS stack... (the usb stack for very limited old classic amigas)
#define WHEEL_UP 0x7a
#define WHEEL_DOWN 0x7b
#define WHEEL_LEFT 0x7c
#define WHEEL_RIGHT 0x7d
On OS4.0 it is different, there are IECLASS_MOUSEWHEEL events, but I don't develop under os4... it's another story
:-D
-
It seems that the newmouse stuff sends both a mousewheel up/down event as well as a cursor up/down event.
NewMouse does not send cursor key events, FreeWheel does this. Deactivate FreeWheel and try again.
Bye,
Thomas
-
Can some one explaint for me: i have ps/2 mouse, download NewMouse12.lha from aminet, and found these strings:
Q: Can i use a PS/2 mouse with NewMouse?
A: No, you can't. You need a real RS232 mouse.
But some of developers support only this one standart, it mean that it possible somehow to use ps/2 mouse with it somehow or not ?
-
The NewMouse program is a driver for serial mice. It cannot be used with PS/2 devices.
But it also invented a set of rawkey codes used to feed wheel movements into input.device. These codes are called "the NewMouse standard". The codes, not the program.
Programs supporting the NewMouse standard rely on the rawkey codes, not on the NewMouse program. Most drivers for PS/2 mice (e.g. Cocolino, Topolino, EZMouse etc.) feed exactly the same rawkey codes into input.device for wheel movements. This way programs supporting NewMouse automatically support Cocolino etc., too.
Bye,
Thomas
-
Cool. Then if i use in my programm newmouse.h, it will works for every mouse on any amiga, right ?