Thanks - I'm happy with the win32 side (already added 5 button mouse support to ntemacs).
JOhn
I now seem to have 2 more working mouse buttons...
Most important question is clearly "what colours are they?" (provisionally "green" and "mauve" here).
Second most important question is "what to do with them?". Selection and Connection spring to mind
John
Noel J. Bergman writes:
I now seem to have 2 more working mouse buttons...
What changes did you make to affect the changes?
Quite minor - I split up the keyboard/button state (variable "buttonState") in the VM, stuck in the obvious XMESSAGE stuff by analogy with what was already there, and that was that. Using mingw32, I needed to add some #defines for the XMESSAGE bits.
John
That sounds about right. As I said earlier, the other issue would just be examining existing code to make sure that all other messages are properly passed to DefWindowProc if not handled internally.
Are you planning to submit the changes to Andreas Raab for inclusion in the Win32 build tree?
--- Noel
-----Original Message----- From: John Kozak [mailto:jk@xylema.org] Sent: Monday, July 02, 2001 3:46 To: squeak@cs.uiuc.edu Subject: RE: Supporting newish input devices
Noel J. Bergman writes:
I now seem to have 2 more working mouse buttons...
What changes did you make to affect the changes?
Quite minor - I split up the keyboard/button state (variable "buttonState") in the VM, stuck in the obvious XMESSAGE stuff by analogy with what was already there, and that was that. Using mingw32, I needed to add some #defines for the XMESSAGE bits.
John
John Kozak jk@xylema.org wrote:
Most important question is clearly "what colours are they?" (provisionally "green" and "mauve" here).
infraread and ultraviolet? :)
Second most important question is "what to do with them?". Selection and Connection spring to mind
Having at least one button for secondary operations would be nice. Squeak takes a button for menus and a button for halos, leaving just one button for primary operations. I've often thought that four would be the perfect number of buttons for Smalltalking....
Actually, a bit wasteful, you could use one for primary and the other for secondary. The original red button is then just for grabbing. Probably too wasteful, though, and if you didn't practice you'd never remember what all the buttons do. :)
Lex
squeak-dev@lists.squeakfoundation.org