I can't speak for the 2D texture section of your patch but none of the new enums in callbacks work for me.
hunk ./glut/callbacks.lisp 183
- :right-button)
- :right-button
- :wheel-up
- :wheel-down
- :button4
- :button5
- :button6
- :button7)
}
I tested with code like:
(defmethod glut:mouse ((w gl-window) button state x y) (declare (ignore x y)) (format t "~&Button value is ~a ~%Pressed value is ~a~%" button state)) (defmethod glut:mouse-wheel ((w gl-window) button pressed x y) (declare (ignore x y)) (format t "~&Button value is ~a ~%Pressed value is ~a~%" button pressed))