VOGONS


First post, by exofreeze

User metadata
Rank Member
Rank
Member

This old Sierra game only has 3 lines to output text. Anytime a block of text is longer than three lines it requires the user to hit the scroll lock hey to continue.

Unfortunately, many new keyboards have the scroll lock key bound to a function+pause key, or other out of the way place.

My idea was to use the key mapper to bind the scroll lock key to a button the game doesn't use, such as left control.

Now, I've used the keymapper before, but I'm no expert.

I am:
selecting left control with the mouse on the virtual keyboard
clicking "delete" to remove it's binding
clicking "add" to add a binding
hitting the scroll lock key to assign the binding
hitting save

This writes out the mapper file, and when I click the left ctrl button on the virtual keyboard, it shows scroll lock as the bound key.

The game however, does not care, and still requires the original scroll lock key to be hit.

I have tried mapping it to other keys as well, and I get the same result.

Out of curiosity,. I started messing around to check how it was mapping.

I deleted the binding to the A key, and then assigned it to the letter B.

However upon saving and returning to the game, typing A does nothing. if I type B however I get "ba". So If I hit B three times, I get "bababa".

This makes no sense to me. Why is hitting the B key returning the letter A when I never touched the bindings on the B key?

If I re-assign the letter a key back to the letter A again, the b key stops sending the letter A.

Can someone explain what is going on here? Thank you.

Reply 1 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the keyboard you see on the screen, is the virtual keyboard presented to the game running inside dosbox.
So you are doing the mapping exactly the wrong way around.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 4, by exofreeze

User metadata
Rank Member
Rank
Member

No, I understand that.

When I make scroll lock to the control key, and I use my mouse to click the virtual control key on the screen - it states:

EVENT: key_lctrl
BIND: Key scroll lock

Reply 3 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

as I said, you are doing it the wrong way around

It should read
EVENT: key_scrollock
BIND: key_lctrl

So click scrlock on the screen. click add. Press on your keyboard ctrl.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 4, by exofreeze

User metadata
Rank Member
Rank
Member

thank you, that makes sense now.