. - .
 
Hively Tracker
News ::  About ::  Forum ::  Download ::  Tunes ::  Screenshots ::  Competition ::  Links
 
. - .
. - .
 
User 
Password 
Create new account
 
. - .

. - .
 
Cool Sites
 
. - .

. - .
 
Link to us
 
. - .

. - .
  Forums > Hively Tracker Support > Mousewheel problem

Page: 1

Mousewheel problem

javamannen
Posted: 2007-06-19 09:34:35
Just looking around
Posts: 7

Member since:
2007-06-19 08:28:45
Hi!

I'm running the 68k version in WinUAE. I have a problem with the mousewheel: when I hold the mouse over a numberbox (e.g Mix Gain) and use the mousewheel to change the value, depending on which editing mode the program is in, either the Position Editor or the Track Editor will scroll up/down (in addition to the numberbox value being updated!). This "side effect" makes it quite impossible for me to edit the numberboxes using the wheel. I can still use the +/- buttons, but it's a bit slooow =)

I don't know if this is a general HivelyTracker bug, a problem with the 68k port, a (Win)UAE compatibility problem or simply a display of my own incompetence (probably the latter though =)

Anyway, thanks for a great program!

/Adam D.
Xeron
Posted: 2007-06-20 09:31:04
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
I've just verified this. Its a different behaviour in the OS4 version (IE it works as you'd expect). Something is wrong in the OS3.x port... :-/
AHX forever!
exobuzz
Posted: 2007-06-20 21:05:04
Moderator
Posts: 56

Member since:
2006-12-14 18:21:01
I don't understand why that would happen. Especially if the "[" and "]" keys are working (They emulate a mousewheel). It's also hard to debug as I don't have a mousewheel mouse. pressing mousewheel or [ or ] keys all run the same code.
javamannen
Posted: 2007-06-20 23:49:41
Just looking around
Posts: 7

Member since:
2007-06-19 08:28:45
I tested the [ and ] buttons and they work as they should. Evidently ] and [ is not equivalent to mousewheel up/down. Actually, it seems that each mousewheel event is equivalent to two keypress events:
MousewheelUp <=> ] + CursorUp
MousewheelDn <=> [ + CursorDn
Xeron
Posted: 2007-06-21 11:10:12
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
That makes sense, i guess. If the mousewheel event comes first, you could ignore the next cursor up/down after I suppose.

Or maybe there is a way to determine if a cursor up/down rawkey message came from the mousewheel driver?

AHX forever!
javamannen
Posted: 2007-06-24 04:51:18
Just looking around
Posts: 7

Member since:
2007-06-19 08:28:45
Well, I was only speculating about the event handling since I don't have access to the sourcecode. The only one who can tell for sure is Buzz... Have you guys considered open-sourcing Hively?
javamannen
Posted: 2007-06-27 02:07:29
Just looking around
Posts: 7

Member since:
2007-06-19 08:28:45
Hmmm... upon re-reading my last post I see how it could be interpreted as implicit criticism. That was absolutely not my intention.
exobuzz
Posted: 2007-06-29 21:41:45
Moderator
Posts: 56

Member since:
2006-12-14 18:21:01
there is no code difference between the [ ] handling and the mouse handling. I mean i have something like

case ]
case mousedown
call something
break

So the mouse stuff must be also generating a cursor event too (perhaps so the mousewheel can be used with some apps which don't actually support it). I will have to do some workaround, like xeron says, but as I dont have a mousewheel mouse on my amiga, debugging is a pain. (perhaps i could winuae, but it means installing windows. . not sure if e-uae supports mousewheel).

Whatever my opinions on opensourcing hively are, the code is Xeron's, so it would be his call.

Xeron
Posted: 2007-07-02 13:10:13
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
About open-sourcing: Not at this time at least.
AHX forever!
Xeron
Posted: 2007-07-02 13:27:45
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
I added a thread on utilitybase about this. Hopefully someone will come back with an answer.
AHX forever!
Xeron
Posted: 2007-07-06 08:35:48
Supreme Being
Posts: 448

Member since:
2006-12-13 11:34:00
Hmm.. the general consensus appears to be that the cursor up/down events are not from the newmouse driver, but from the "freewheel" commodity. Are you running freewheel? Or does UAE give cursor keys as well as newmouse?
AHX forever!
javamannen
Posted: 2007-07-06 20:50:51
Just looking around
Posts: 7

Member since:
2007-06-19 08:28:45
Problem solved!
Apparently Amiga-in-a-box uses FreeWheel. I deactivated it and voila, mousewheel control now works perfectly in Hively. So there's nothing wrong with the OS3 port after all.
Thanks!

Page: 1
 
. - .