Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enter key doesen't work in code editing
#1
Hi!

I have a laptop with a bit strage keyboard where both enter keys (the one on alpabetical part of keayboard and the one on numerical part keyboard) acts as numerical enter key.

And this is giving me problems becouse I can't go into a new line when writing ingame programs for robots becouse as it seems the game is expecting vkReturn keayboard message but both keys on my keyboard fire vkEnter keyboard message.

Now I do have a small app that I made myself which registers systemwide keyboard hook that replaces all vkEnter keyboard event messages with vkReturn keyboard messages. But I prefer not using it unless it is apsolutely necessary.

So I would request if the game could be changed a bit so that both vkReturn and vkEnter keyboard messages creates a new line in ingame code editor.

This will be especially usefull for some other pepole who might have similar isues with their keyboard as I do but don't have a workaround available as I do.
#2
I think we had a smilar problem some time ago, but we didn't know what caused that - http://colobot.info/forum/showthread.php?tid=452
I've made an issue for that on GitHub - https://github.com/colobot/colobot/issues/427
#3
(01-17-2015, 05:24 PM)krzys_h Wrote: I think we had a smilar problem some time ago, but we didn't know what caused that - http://colobot.info/forum/showthread.php?tid=452
I've made an issue for that on GitHub - https://github.com/colobot/colobot/issues/427

Yes that seems to be exact same problem.
I gues I have an advantage over the OP of that other thread becouse I'm a software developer myself and I spend a whole day trying to figure this out first time I encountered this prblem with another game. Finally I made myself a simple program to trach every key press to finally figure out the difference when comparing keyboard events on my laptop computer with those on my statinary computer where I didn't have these problems.


Forum Jump:


Users browsing this thread: 1 Guest(s)