You are not logged in.

#1 2014-07-28 23:53:31

David López
Member
Registered: 2012-08-26
Posts: 98

[SOLVED] keybind doesn't work in fullscreen

Hi. I use 64 bits archlinux with lxde in a tablet without keyboard (only with onboard virtual keyboard). My tablet has a button that I have tweaked it to the F5 key with the command

xte 'key F5'

to play games with scummvm. However this bind only works fine in windowed mode, nothing happens when I play in fullscreen.

I've also tested the binding

xte 'key Escape'

with the same result: it works fine in the desktop, but when I play a steam game in fullscreen the tablet button doesn't work.

I'm sure that the issue is related with fullscreen mode. My tablet also have two buttons for increasing/decreasing the volume, I've included the usual

amixer sset Master 5%+

and

amixer sset Master 5%-

in lxde-rc.xml and it works fine in scummvm windowed mode, but volume doesn't change if I play in fullscreen.

Any idea of a working binding in fullscreen? Thanks

Last edited by David López (2014-07-29 14:37:45)

Offline

#2 2014-07-29 10:01:05

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] keybind doesn't work in fullscreen

That’s a common problem with some fullscreen games, most notably ones that use the old SDL 1.2 if I’m not mistaken (I did write one such game and had to workaround the problem by handling alt-tab myself).

There is something about it in the wiki… https://wiki.archlinux.org/index.php/Ga … d_grabbing

Offline

#3 2014-07-29 14:37:16

David López
Member
Registered: 2012-08-26
Posts: 98

Re: [SOLVED] keybind doesn't work in fullscreen

stqn wrote:

That’s a common problem with some fullscreen games, most notably ones that use the old SDL 1.2 if I’m not mistaken (I did write one such game and had to workaround the problem by handling alt-tab myself).

There is something about it in the wiki… https://wiki.archlinux.org/index.php/Ga … d_grabbing

Thanks, stqn. I've installed sdl-nokeyboardgrab and now my 'F5 key' works in scummvm. I'll mark this problem as solved

Offline

Board footer

Powered by FluxBB