On 13/02/2008, Charlie McMackin charliemac@gmail.com wrote:
I'll give it a try, but it seems that no one else is hitting the error on wheel-down due to -1 not be enumerated in mouse-button-state either. (see other thread where I sent patch) Leads me to be more suspect of my set-up.
IIRC, I get that weird -1 when using the glut:mouse-wheel event.
IIRC, I get that weird -1 when using the glut:mouse-wheel event.
You were right, removing the mouse-wheel method allowed me to access the new enums with the normal mouse method. Feels much nicer as well.
Handling the -1 with a different keyword name than I provided might still be a good idea for the sorry that stumble upon the glut:mouse-wheel trap :)
cm
cl-opengl-devel@common-lisp.net