Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

In-game keyboard configuration

An area for discussing new ideas and additions to Oolite.

Moderators: another_commander, winston

User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 524
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: In-game keyboard configuration

Post by Nite Owl »

You may have to add it in yourself. See HIDDEN SETTINGS IN OOLITE for more information.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Re: In-game keyboard configuration

Post 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.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5025
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: In-game keyboard configuration

Post 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
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Re: In-game keyboard configuration

Post by Killer Wolf »

i don't see an entry for Ctrl on the keyconfig?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post 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.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post 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.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6560
Joined: Wed Feb 28, 2007 7:54 am

Re: In-game keyboard configuration

Post 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
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post 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!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16065
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: In-game keyboard configuration

Post by Cody »

Thankee Admiral. This will make my personal keyconfig.plist obsolete, right?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post by phkb »

Yes, that’s right. But hopefully easy to re-enter.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Re: In-game keyboard configuration

Post 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
User avatar
tsoj
Deadly
Deadly
Posts: 199
Joined: Wed May 18, 2016 8:19 pm
Location: Berlin
Contact:

Re: In-game keyboard configuration

Post 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).
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16065
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: In-game keyboard configuration

Post by Cody »

So far, so good. I can't deselect the fire laser key and leave it unassigned - is that correct?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post 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?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4668
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: In-game keyboard configuration

Post 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.
Post Reply