Page 9 of 10

Re: In-game keyboard configuration

Posted: Wed Jun 29, 2022 1:26 pm
by Nite Owl
You may have to add it in yourself. See HIDDEN SETTINGS IN OOLITE for more information.

Re: In-game keyboard configuration

Posted: Wed Jun 29, 2022 3:05 pm
by Killer Wolf
thanks for that, but it says it's dependent on the control key again, which as i said is not confortable for me.

Re: In-game keyboard configuration

Posted: Wed Jun 29, 2022 4:21 pm
by Cholmondely
Killer Wolf wrote: Wed Jun 29, 2022 3:05 pm
thanks for that, but it says it's dependent on the control key again, which as i said is not confortable for me.
So what if you move the movement keys to be closer to the control key - or swap the control key for - say - the Z or the X key?

Keyboard Issues

Image

Re: In-game keyboard configuration

Posted: Wed Jun 29, 2022 7:52 pm
by Killer Wolf
i don't see an entry for Ctrl on the keyconfig?

Re: In-game keyboard configuration

Posted: Wed Jun 29, 2022 10:24 pm
by phkb
Killer Wolf wrote: Wed Jun 29, 2022 7:52 pm
i don't see an entry for Ctrl on the keyconfig?
Not for the precision control at the moment. I steered away from allowing any of the mod keys (shift/ctrl/alt or cmd) to be used independently or allocated specific functions, purely from the complexity point of view. However, in thinking a bit more about it, it may be possible to allocate *additional* keys to those functions. So, we might not be able to eliminate Ctrl for the function, but we could potentially add an extra key to it, making it Ctrl OR another key.

Anyway, once this PR is in trunk, we can start examining some of these ideas in more detail.

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 10:19 am
by phkb
Well, I hit the go button - the new code has been merged into trunk, so a new trunk package should be created shortly.

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 10:34 am
by another_commander
Congratulations for the great work, well done! We have keyboard configuration in-game and the build on github went through successfully. Test release is out: https://github.com/OoliteProject/oolite ... tag/latest

How did it feel pressing the button for such a huge merge? ;-)

Edit: For the audience, just to give an idea of how big this was:
Files changed: 35
Lines changed: 19,891

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 10:38 am
by phkb
another_commander wrote: Thu Jun 30, 2022 10:34 am
How did it feel pressing the button for such a huge merge? ;-)
Scary!

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 10:40 am
by Cody
Thankee Admiral. This will make my personal keyconfig.plist obsolete, right?

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 10:54 am
by phkb
Yes, that’s right. But hopefully easy to re-enter.

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 4:39 pm
by Killer Wolf
another_commander wrote: Thu Jun 30, 2022 10:34 am
Congratulations for the great work, well done! We have keyboard configuration in-game and the build on github went through successfully. Test release is out: https://github.com/OoliteProject/oolite ... tag/latest

How did it feel pressing the button for such a huge merge? ;-)

Edit: For the audience, just to give an idea of how big this was:
Files changed: 35
Lines changed: 19,891
i think that's bigger than Elite on the BBC Micro was :-D

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 5:45 pm
by tsoj
phkb wrote: Thu Jun 30, 2022 10:19 am
Well, I hit the go button - the new code has been merged into trunk, so a new trunk package should be created shortly.
Great work! Works like a charm so far (on Linux with a German keyboard).

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 7:49 pm
by Cody
So far, so good. I can't deselect the fire laser key and leave it unassigned - is that correct?

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 9:40 pm
by phkb
tsoj wrote: Thu Jun 30, 2022 5:45 pm
Works like a charm so far (on Linux with a German keyboard).
That's great news! And you've probably mentioned this elsewhere, but what flavour of Linux are you running?

Re: In-game keyboard configuration

Posted: Thu Jun 30, 2022 9:43 pm
by phkb
Cody wrote: Thu Jun 30, 2022 7:49 pm
I can't deselect the fire laser key and leave it unassigned - is that correct?
Err... yeah! I hadn't thought of that scenario! Let me do some tests to see if there's a workaround.