Page 1 of 1

BUG: Keyboard doesn't work under Windows 8

PostPosted: 20 Aug 2013, 08:12
by acme_pjz
When playing STK 0.8 32-bit on a laptop computer using Windows 8 64-bit, keyboard doesn't work when racing. It works in main menu and various screens, but only navigating. When reconfiguring keyboard keys, it doesn't respond to any keypress.

It's OK under Windows 7 32-bit. (Windows 7 64-bit untested.) Is it a bug? Maybe Irrlicht has some compatibility problems?

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 21 Aug 2013, 01:56
by RaceAce
Do you have any gaming devices plugged in your computer? (Joystick, controller, etc.) These can make the keyboard not work during a race.

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 21 Aug 2013, 05:43
by acme_pjz
RaceAce {l Wrote}:Do you have any gaming devices plugged in your computer? (Joystick, controller, etc.) These can make the keyboard not work during a race.


No, there is no joysticks. In device list only "Keyboard 0" is shown.

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 21 Aug 2013, 15:12
by asciimonster
Could you check that you are not suffering from evil-keyboard-syndrome?
http://www.sjbaker.org/wiki/index.php?t ... s_Are_Evil

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 21 Aug 2013, 17:55
by acme_pjz
asciimonster {l Wrote}:Could you check that you are not suffering from evil-keyboard-syndrome?
No, it's nothing to do with evil keyboard :| The problem is keyboard can be used in main menu for navigating (e.g. arrow keys), but not during race :( And there is only "Keyboard 0" in device list.

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 22 Aug 2013, 01:20
by hiker
acme_pjz {l Wrote}:
asciimonster {l Wrote}:Could you check that you are not suffering from evil-keyboard-syndrome?
No, it's nothing to do with evil keyboard :| The problem is keyboard can be used in main menu for navigating (e.g. arrow keys), but not during race :( And there is only "Keyboard 0" in device list.


Did you check the keyboard bindings for race? There are two independent key bindings - one for menu handling, one for racing. Change the settings for racing, and see if this makes a difference. Even if you have the correct ones, perhaps your keyboard delivers different codes?? Just try binding them to some letters first.

What happens if you press F10 during a race, do you get a history file (in the current directory)? Are you using fullscreen mode - and whatever you do, can you try the other?

The only other reason I can think of is that maybe in racing somehow the focus is lost, and the keyboard events get delivered elsewhere? I admit, doesn't make too much sense. But otherwise the keyboard handling is mostly identical, i.e. stk receives events from irrlicht. And it's somewhat unlikely that the keyboard handling in stk is suddenly broken ;)

Do you compile your own version, or is this our official windows build?

Cheers,
Joerg

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 22 Aug 2013, 08:08
by acme_pjz
hiker {l Wrote}:Did you check the keyboard bindings for race? There are two independent key bindings - one for menu handling, one for racing. Change the settings for racing, and see if this makes a difference.


I can't change the settings because the reconfigure key screen doesn't work :( When an item is double-clicked a "Press any key" screen popups but it doesn't respond to any keypress :(

And the keyboard is standard US keyboard.

hiker {l Wrote}:Are you using fullscreen mode?


Yes. Windowed mode untried but I can't test it now because that is my friend's computer.

hiker {l Wrote}:Do you compile your own version, or is this our official windows build?


Official STK 0.8 Win32 build.

Re: BUG: Keyboard doesn't work under Windows 8

PostPosted: 22 Aug 2013, 08:16
by rubberduck
you can try starting it with the console (i don't know how to do this in w8, because i have a linux-system)

it could show you information, if something is not working