Missing joystick functions

An area for discussing new ideas and additions to Oolite.

Moderators: another_commander, winston

Post Reply
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Missing joystick functions

Post by phkb »

Looking ahead to my next core code change, I'm trying to narrow down any joystick mapping functions that are currently missing. My list currently has these items in no particular order (and with no though to the actual description to go with said items):
  • Reverse prime equipment
  • Compass mode previous
  • Comms log
  • Rotate cargo
  • MFD select next
  • MFD select previous
  • MFD cycle next
  • MFD cycle previous
  • Cycle external views
Are there any that I've missed?
Last edited by phkb on Wed Sep 15, 2021 12:24 am, edited 1 time in total.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 14826
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Missing joystick functions

Post by Cody »

Don't know if this is possible, but... cycle external views?
The light at the end of the tunnel
Is the light of an oncoming train
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Missing joystick functions

Post by phkb »

Cody wrote: Wed Sep 15, 2021 12:16 am cycle external views
It should be possible. Thanks, I'll add it to the list.
hiran
---- E L I T E ----
---- E L I T E ----
Posts: 563
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Missing joystick functions

Post by hiran »

phkb wrote: Wed Sep 15, 2021 12:23 am
Not directly joystick-related:
While you are looking into keyboard handing and joysticks, which essentially means the input devices. Would it be possible to send such input events via the debug console? Would it be possible to receive input events on the debug console?

This would enable a lot of things currently not possible:
- For multiplayer games we could control some ships via network
- For demo purposes we could record events and replay them
- Demo purposes automatically triggered and evaluated could end up in automatic test cases
I have not failed. I've just found 10,000 ways that won't work. [Thomas Edison]
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1881
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Missing joystick functions

Post by Cholmondely »

I can't imagine that you won't have thought of this, but on the very very mild off-chance that you have not, your spanking-new fast-activation buttons!

And, just musing, we have "viewscreen-views" for each of the four compass points but not up and down.

I could never understand why in the older versions (pre-yaw) we can only pitch up and down, but then can only see left and right!
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Missing joystick functions

Post by phkb »

Cholmondely wrote: Sun Sep 19, 2021 7:58 am I can't imagine that you won't have thought of this, but on the very very mild off-chance that you have not, your spanking-new fast-activation buttons!
First things first. Once I’ve finished the keyboard config changes, then brought the joystick functions into parity, then we can look at adding the ability to control OXP equipment.
Cholmondely wrote: Sun Sep 19, 2021 7:58 am And, just musing, we have "viewscreen-views" for each of the four compass points but not up and down.
That one falls outside the scope of the keyboard and joystick changes. You can certainly add custom views that would approximate those directions, they would only be accessible by cycling the external views, not with a direct access button. Adding core views is a different change.
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Missing joystick functions

Post by phkb »

hiran wrote: Wed Sep 15, 2021 6:21 am Would it be possible to receive input events on the debug console?
Likewise this request. I’ll add it to the list to investigate, but I don’t want to stack too many changes into one code drop.
Post Reply