Closed GoogleCodeExporter closed 8 years ago
The wheel could be used for... scrolling the picture :) Or changing the zoom
factor.
I don't have a 3rd button on my laptop... but i should probably get an usb
mouse
anyways, for graphing :)
Original comment by pulkoma...@gmail.com
on 9 Oct 2008 at 5:55
SDL 1.3 will handle touchscreens and possibly tablets support... but it's not
available yet :)
Original comment by pulkoma...@gmail.com
on 21 Oct 2008 at 3:23
About mouse buttons, in Issue 42 fallenblood suggested taking into account
'shift
modifiers', like scroll/shift+scroll for scrolling along x/y, alt+scroll for
zoom
and ctrl+scroll for brush size
---
About tablet, it's already great that our port accepts tablets as mice, I can't
use
my Wacom Graphire tablet in Grafx2 96.5% (DOS) because all clicks minimize the
program and return me to the desktop.
I don't miss pressure sensitivity in GrafX2, as it's for drawing the exact
right
pixels with the exact right color. For pressure-sensitive brush size or alpha,
there
are more suitable tools like the excellent Project Dogwaffle, or Gimp.
Original comment by yrizoud
on 23 Oct 2008 at 4:18
It still could be nice as a replacement for wait_vbl, ie in the spray and the
sliders speed.
And it may open other ideas.
Using the modifier can be done, there is already some code translating keys to
mouse
motion in get_input. Scroll is already done there, brush size can be added
without
too much effort i think, but i'm not sure for zoom... changing the zoom factor
is
quite a complex operation involving opening a window wich does many things in
its
own event loop. Moving a part of that to a function will be required.
Original comment by pulkoma...@gmail.com
on 23 Oct 2008 at 4:25
> changing the zoom factor is quite a complex operation
> involving opening a window wich ...
..or just use the existing shortcut action:
{85,
"Zoom in",
"Increase magnifying factor.",
"",
true,
SDLK_KP_PLUS}, // Grey +
{86,
"Zoom out",
"Decrease magnifying factor.",
"",
true,
SDLK_KP_MINUS}, // Grey -
Original comment by yrizoud
on 23 Oct 2008 at 6:49
Oh nice :)
No problem adding it then :)
Original comment by pulkoma...@gmail.com
on 23 Oct 2008 at 7:13
Issue 42 has been merged into this issue.
Original comment by pulkoma...@gmail.com
on 16 Dec 2008 at 10:19
Original comment by pulkoma...@gmail.com
on 16 Dec 2008 at 10:30
Original comment by pulkoma...@gmail.com
on 14 Jan 2009 at 4:44
Original comment by pulkoma...@gmail.com
on 16 Jan 2009 at 9:01
Original comment by pulkoma...@gmail.com
on 21 Jan 2009 at 11:06
The new get_input can send events for the middle button, and other are easy to
add.
We also support multiple buttons at the same time.
So feel free to get strated on these configurable mouse shortcuts :)
Original comment by pulkoma...@gmail.com
on 31 Jan 2009 at 12:45
Working on it, as well as joystick support and customization.
I'm not going to implement "keyboard repetition" on middle mouse button (Maybe
later,
but for now, keep it simple). Mouse wheel doesn't have the problem since each
"wheel
step" calls the function once. Perfect for zooming in and out a few steps at a
time.
I also implemented mousewheel scrolling in all screens that had a single list:
Text(font choice), Load/Save (file), Help (text). Scrolling is 3 lines at a
time,
which looks fine.
Original comment by yrizoud
on 5 Feb 2009 at 3:31
Original comment by yrizoud
on 9 Feb 2009 at 12:24
Original issue reported on code.google.com by
yrizoud
on 9 Oct 2008 at 2:03