Closed GoogleCodeExporter closed 9 years ago
I assume this is in fullscreen mode
There are sliders in Settings screen, that control mouse speed in fullscreen
mode.
The normal setting is to have all sliders "up" : In this case, Grafx2 doesn't
alter
the mouse movements as received by SDL.
If the sliders are pushed down, the mouse gets 2x, 3x or 4x slower. (This was
design
to work around the problem of mouse too fast on Windows - SDL may behave
differently
on other platforms)
When all sliders are on top position, is the mouse too fast or too slow in 320
? and
in 1280 ?
Original comment by yrizoud
on 3 Mar 2010 at 4:02
Both sliders are at the top position, the mouse seems fine under 320 and much
slower
at 1280. The same sort of thing happens in other SDL apps on Ubuntu, I think.
Original comment by Rave...@googlemail.com
on 3 Mar 2010 at 4:19
Then I think I can't do anything within grafx2 :(
When mouse is too fast I can divide coordinates, but when it's too slow,
multiplying
is wrong as it would make the mouse "miss" pixels 1, 3, 5, 7 ....
Workaround is to use windowed mode, enlarging it as much a possible; together
with
pixel scaler "Double" to emulate resolution 640.
Maybe try SDL_VIDEO_X11_DGAMOUSE=0 before running grazx2... (probably
unrelated. I
googled a little but didn't find a real match with your problem.)
Original comment by yrizoud
on 3 Mar 2010 at 5:16
SDL_VIDEO_X11_DGAMOUSE=0 fixed it, thanks. :-)
Couldn't get Ubuntu to do that automatically everytime though, so I've thrown
it into
a bash script for now:
#! /bin/bash
SDL_VIDEO_X11_DGAMOUSE=0 grafx2 /mode ?x? /quadruple
Original comment by Rave...@googlemail.com
on 3 Mar 2010 at 6:22
Glad it worked. The mysteries of SDL --'
Original comment by yrizoud
on 4 Mar 2010 at 4:29
Maybe we should set this variable ourselves using setenv() in the init code ?
Original comment by pulkoma...@gmail.com
on 5 Mar 2010 at 7:31
This seems to be a very isolate problem; Fullscreen high-resolution is common
for SDL
games in Ubuntu, and yet there's no report of similar problem on the SDL boards.
Original comment by yrizoud
on 5 Mar 2010 at 1:30
Original issue reported on code.google.com by
Rave...@googlemail.com
on 3 Mar 2010 at 3:31