News:

Precision Simulator update 10.176 (7 September 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

Feature request: add keystroke to set the parking brake from JoyToKey?

Started by brian747, Mon, 16 Oct 2023 06:21

brian747

Hello, Hardy!

Since it seems to be the season for feature requests    might I add one more?

The ability to use Ctrl Alt U and Ctrl Alt D to directly move the gear lever has been of enormous assistance to JoyToKey users such as myself, but there is another addition that would also be a great help.

To set the parking brake currently requires the use of the spacebar and the B key in a way that I am not able to send with JoyToKey. My workaround is to instead get JoyToKey to send a specific key sequence that is then harvested by an AutoHotKey script running in the background which does this:



OK it works, but is somewhat clumsy. Being able to send Ctrl Alt B or something similar would make life much easier, and remove the need for a background script.

Just a thought — if you feel it might be a useful addition?   

With thanks for your great work, as ever,   

Cheers,

Brian
(Author of "The Big Tutorial" for PS1, and "Getting started with PSX" Parts 1, 2, and 3).

Jeroen Hoppenbrouwers

[useless morning bubbles follow]

There clearly is a challenge out there with many people wanting to use the lowest common denominator, the keyboard, to control basically everything in PSX. The main reason is that this keyboard interface is so well supported by many peripherals out there.

PSX, of course, has a wonderful do-it-almost-all native interface: the TCP network link.

The keyboard has an obvious limitation, with all the currently required control-alt-shift-elbow-thumb-B patterns.

Now... the usual way to extend an alphabet into a language is by [drum roll] making words, and sentences.

Would it work to extend PSX with one magic keyboard combo that then starts a word reader so that commands can be entered instead of one-shot combos only?

Like...

Ctrl-Alt-Q    (opening stroke)
park
<Enter>

... to set the parking brake?

Or even extend it to cover most network commands... Ctrl-Alt-Q146=h<enter>

Hoppie

Hardy Heinlin

Hello.

Sounds good, Hoppie. But too much work ... :-)

Brian, I just implemented the key combination CTRL+B which pulls the lever and instantly sets both pedals to 95% (pawl position). It works. It will be available in the next PSX version.

As usual, pushing the pedals to 100% will release the lever. Is that OK?


Regards,

|-|ardy

brian747

Is that OK?
OK???      Kind sir, you have, as the saying goes (albeit in a slightly different context), "made an old man very happy".   

That will mean that I can finally stop using a background script to address a few inadequacies of JoyToKey, notably when it comes to timing, and to distinguishing between key up and key down events. As someone who trained as a machine code programmer (in the late 1960s  <sigh> ) I still prefer to keep my machine's environment as clean as possible to make the maximum use of resources, so being able to get rid of that extraneous script at long last is also aesthetically pleasing to me.

Warmest thanks, as ever, for your caring support of the wonder that is PSX — and of its disparate range of users!   

With every good wish,

Brian


(Author of "The Big Tutorial" for PS1, and "Getting started with PSX" Parts 1, 2, and 3).

Hardy Heinlin

You're welcome, Brian :-)


The CTRL+B key combination is now available in PSX version 10.172:

https://aerowinx.com/board/index.php/topic,4191.0.html


Regards,

|-|ardy

brian747

Hi Hardy!

You probably noticed, but I have thanked you already — however, I'm very happy to get an opportunity to do so again!   

All the best,     

Brian
(Author of "The Big Tutorial" for PS1, and "Getting started with PSX" Parts 1, 2, and 3).

Hardy Heinlin

I did notice :-)

Glad to see you in a happy mood :-)


Cheers,

|-|ardy

brian747

> "...in a happy mood..."

<grin>  But of course. Unlike most things in life when you become a wrinklie (or in my case, probably a crumblie), PSX just keeps getting better and better!

Something rare and wonderful....   

Cheers,

Brian
(Author of "The Big Tutorial" for PS1, and "Getting started with PSX" Parts 1, 2, and 3).