Author
|
Thread |
 |
|
nerdknight

Joined: 25 Nov 2011
Posts: 3
|
Hi!, I've installed scummvm 1.4.0 on my n900. The keys are not responding. I've downloaded the source and ran a few tests and it seems it isn't getting any key events (only mouse events) when calling the method code:
bool SdlEventSource::dispatchSDLEvent(SDL_Event &ev, Common::Event &event)
in file backends/events/sdl/sdl-events.cpp
|
Fri Nov 25, 2011 3:54 am |
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
I was afraid that would happen.
I'll try to fix it for 1.4.1.
|
Fri Nov 25, 2011 4:37 am |
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
Please log a bug with as much detail as possible (including what game(s) you were testing with)
Also, I put in a fix that will hopefully fix it in the latest (experimental) daily build. (The link is in the sticky post in this forum)
Let me know if it works (saves done with that 1.5.0~git build may not work in 1.4.0)
I don't have a N900 to reproduce/test this.
|
Fri Nov 25, 2011 5:49 am |
|
|
nerdknight

Joined: 25 Nov 2011
Posts: 3
|
The problem was no keyboard events at all, not even at the scummvm start menu, the last build you have posted solved the problem.
Another problem with the n900 are the keybindings, the n900 doesn't have menu key nor fullscreen key, so I cannot access the in game menu and toggle fullscreen. (I suggest Ctl+m and Ctl+f)
The bindings with the volume keys doesn't work quite well, the still control the system volume, but after a while (I don't know what I did) they worked.
I ran the tests with The Curse of Monkey Island.
|
Fri Nov 25, 2011 8:53 pm |
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
Go ahead and log bug reports for these issues as per forum rule 3a.
Ctrl-m cannot be used because it is used for a built-in function.
The old Maemo port cheated to achieve this (it wasn't in the official repo and was sort of hacked in)
I think I will have to use the keymapper for these functions so that you can remap them instead of them being hardcoded and potentially getting in the way of a game that uses them.
Try to find out what you did for the volume keys to work.
|
Fri Nov 25, 2011 9:58 pm |
|
|
Smothermunchie
Joined: 30 Mar 2007
Posts: 96
|
Another way to go is to use Xmodmap, if it's available, and change the keys this way.
|
Fri Nov 25, 2011 10:45 pm |
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
If you type in f8 in the virtual keyboard you'll bring up the keymapper.
You can set the key for global main menu there. Try that in the daily build.
Caveat: it is very experimental.
|
Fri Nov 25, 2011 10:55 pm |
|
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
Thanks
|
Sun Nov 27, 2011 3:10 am |
|
|
zod
Joined: 04 Nov 2005
Posts: 10
|
quote: Originally posted by tsoliman If you type in f8 in the virtual keyboard you'll bring up the keymapper.
Which build support this? I have this version installed and F8 doesn't work or i just don't now how to use it.
Could proximity sensor be used for disabling mouse clicks? Eg. when proximity is covered then no clicks. Old method, holding down ctrl key, was also ok.
|
Sat Dec 10, 2011 4:21 pm |
|
|
tsoliman
ScummVM Developer

Joined: 19 Jan 2011
Posts: 385
Location: USA |
The 1.5.0git development snapshots do. Look for the first thread in this forum (announcement)
EDIT: I was answering the part about the keymapper. I'll try to look into the proximity sensor.
|
Sat Dec 10, 2011 4:54 pm |
|
|