Dr Strangelove
Posted: Tue Jul 19, 2016 5:52 pm
a.k.a How I learnt to love my scroll-wheel mouse.
I have had an obsession with Pentominoes since I bought my sister a Spears Games version of that, knowing full
well that I'd end up playing with it . . . https://en.wikipedia.org/wiki/Pentomino
Anyway, I got bogged down a while back because I really didn't want to have a separate 'rotate' button for each of the 12 shapes:
as all sorts of complications arose with drag-and-drop and so on.
Today; for no obvious reason, I started wondering if I could pick up a rawKeyDown signal from the scroll-wheel on my mouse.
Things went rather better than that as I picked up 2 different signals depending on which way I scrolled the wheel.
This really sorted out my previous problem:
the sample stack is here: https://www.dropbox.com/s/1tyxt1015z0h5 ... e.zip?dl=0
I have had an obsession with Pentominoes since I bought my sister a Spears Games version of that, knowing full
well that I'd end up playing with it . . . https://en.wikipedia.org/wiki/Pentomino
Anyway, I got bogged down a while back because I really didn't want to have a separate 'rotate' button for each of the 12 shapes:
as all sorts of complications arose with drag-and-drop and so on.
Today; for no obvious reason, I started wondering if I could pick up a rawKeyDown signal from the scroll-wheel on my mouse.
Things went rather better than that as I picked up 2 different signals depending on which way I scrolled the wheel.
This really sorted out my previous problem:
the sample stack is here: https://www.dropbox.com/s/1tyxt1015z0h5 ... e.zip?dl=0