# Keyboard shortcuts?

**URL:** <https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718>\
**Category:** Development/Design\
**Created:** [June 7, 2017, 2:33pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718 "2017-06-07T14:33:40Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![milanfahrnholz](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@milanfahrnholz](https://forums.thimbleweedpark.com/u/milanfahrnholz)\
**Post date:** [June 7, 2017, 11:55pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/21 "2017-06-07T23:55:43Z")

</div>

> [@ZakPhoenixMcKracken](#):
>
> I second this, it happened that I tried to dial a number using the mumpad!

Wouldn´t that be like, super immersive?

---

<div class="post-metadata">

**Author:** ![Caven](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@Caven](https://forums.thimbleweedpark.com/u/Caven)\
**Post date:** [June 8, 2017, 12:17am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/22 "2017-06-08T00:17:26Z")

</div>

> [@Nor\_Treblig](#):
>
> > [@Caven](#):
> >
> > So are the dialogue options
> 
> Yes, but those are used far more often in the game.[/quote]  
> And the elevators are used far more often than the save/load feature. I wouldn’t advocate removing hotkeys for saving and loading due to relative lack of use, just as I wouldn’t advocate removing hotkeys for verbs or dialogue options due to relative lack of importance–even though the cursor will already be hovering over the dialogue options after the first line of the conversation.
> 
> > [@](#):
> >
> > Riding the elevator takes much more time than the two clicks selecting the floor, that’s why I don’t really see a point in this. (Also I personally didn’t have the feeling I lost a lot of time in it during the course of my first play)
> 
> Listening to or reading dialogue takes much more time than the click needed to select a dialogue option, that’s why I don’t really see a point in it. (Also I personally didn’t have the feeling I lost a lot of time on it during the course of my first play).
> 
> I don’t think Thimbleweed Park would be somehow less of a game for not implementing elevator hotkeys (truth be told I rarely use hotkeys myself due to being left-handed), but if people are willing to use hotkeys for verbs and dialogue, then perhaps they would like them for elevators and phones. (Thanks for suggesting phone keypads, milanfahrnholz. I can’t believe I didn’t think about that one at the same time.)
> 
> [quote]What we could request instead is that Franklin should be able to skip the elevator completely and just float between the floors… (the penthouse could by protected by a force field)

I think that falls well out of the purview of hotkeys, though admittedly, so does my original drag-and-drop suggestion. Having Franklin able to bypass the elevator would also make it harder for the player to recognize the nature of the obstacle, since they might completely miss the conversation involved. Also, you’d have to explain why the force field is affected by food and entertainment.

---

<div class="post-metadata">

**Author:** ![asterothe](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/asterothe/32/550_2.png) [@asterothe](https://forums.thimbleweedpark.com/u/asterothe)\
**Post date:** [June 8, 2017, 12:52am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/23 "2017-06-08T00:52:31Z")

</div>

> [@RonGilbert](#):
>
> Since we’re doing a update in the next few weeks/month, are there any UI/keyboard/mouse changes you’d like to see? Nothing major, just small stuff to make playing easier.

CTRL + M → opens map after the map is available  
I second character selections with keys.

---

<div class="post-metadata">

**Author:** ![Jupp](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/jupp/32/359_2.png) [@Jupp](https://forums.thimbleweedpark.com/u/Jupp)\
**Post date:** [June 8, 2017, 4:47am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/24 "2017-06-08T04:47:53Z")

</div>

What about right-click to advance to the next text line?  
In some review I read someone complained about not being able to fast-forward text. I don’t blame him because finishing a sentence with a full stop is a very Ron Gilbert thing.  
Also, if you are playing with a mouse only, it is more convenient.

> [@RonGilbert](#):
>
> Slamming your fist on the keyboard autosolves a puzzle.

Can that be reconfigured to also work with the head instead of the fist?

---

<div class="post-metadata">

**Author:** ![LowLevel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/lowlevel/32/48_2.png) [@LowLevel](https://forums.thimbleweedpark.com/u/LowLevel)\
**Post date:** [June 8, 2017, 5:05am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/25 "2017-06-08T05:05:22Z")

</div>

> [@Jupp](#):
>
> What about right-click to advance to the next text line?

You can already do that clicking the middle mouse button / scroll wheel.

---

<div class="post-metadata">

**Author:** ![Jupp](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/jupp/32/359_2.png) [@Jupp](https://forums.thimbleweedpark.com/u/Jupp)\
**Post date:** [June 8, 2017, 5:21am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/26 "2017-06-08T05:21:45Z")

</div>

Thanks, I was not aware of that.

---

<div class="post-metadata">

**Author:** ![Kuma](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/kuma/32/105_2.png) [@Kuma](https://forums.thimbleweedpark.com/u/Kuma)\
**Post date:** [June 8, 2017, 7:34am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/27 "2017-06-08T07:34:56Z")

</div>

I would love to have the option to turn off the [hotspotCursors](https://forums.thimbleweedpark.com/t/option-for-classic-crosshair-cursor/123) in the options menu.

---

<div class="post-metadata">

**Author:** ![Nor\_Treblig](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/nor_treblig/32/216_2.png) [@Nor\_Treblig](https://forums.thimbleweedpark.com/u/Nor_Treblig)\
**Post date:** [June 8, 2017, 7:34am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/28 "2017-06-08T07:34:57Z")

</div>

> [@Caven](#):
>
> And the elevators are used far more often than the save/load feature. I wouldn’t advocate removing hotkeys for saving and loading due to relative lack of use, just as I wouldn’t advocate removing hotkeys for verbs or dialogue options due to relative lack of importance

You can easily get to save/load via the menu and I wouldn’t say those hotkeys are that important either.  
Unlike the verb hotkeys since the verb interface is what you use to interact with the game most of the time.

> [@Caven](#):
>
> Listening to or reading dialogue takes much more time than the click needed to select a dialogue option, that’s why I don’t really see a point in it. (Also I personally didn’t have the feeling I lost a lot of time on it during the course of my first play).

I didn’t really miss hotkeys for dialog options. OK, there was one exception: not being able to press the numbers when using the computer and text adventure was a little bit annoying/counter-intuitive.

> [@Caven](#):
>
> (Thanks for suggesting phone keypads, milanfahrnholz. I can’t believe I didn’t think about that one at the same time.)

I agree with hotkeys for those keypads! But the elevator is also a little more complicated to implement since you would have to enter a 1- to 2-digit number (and I don’t think we really want to map the F-keys…).

> [@Caven](#):
>
> Having Franklin able to bypass the elevator would also make it harder for the player to recognize the nature of the obstacle, since they might completely miss the conversation involved. Also, you’d have to explain why the force field is affected by food and entertainment.

Oh the force field is just created by Xavier to prevent other ghosts from accessing the penthouse through the floor, he let Clara handle the access via the elevator.

In general I find it a little bit strange when ghosts in video games or movies are bound to the floor. Of course it’s often done for practical reasons.

---

<div class="post-metadata">

**Author:** ![Nor\_Treblig](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/nor_treblig/32/216_2.png) [@Nor\_Treblig](https://forums.thimbleweedpark.com/u/Nor_Treblig)\
**Post date:** [June 8, 2017, 7:36am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/29 "2017-06-08T07:36:30Z")

</div>

> [@ZakPhoenixMcKracken](#):
>
> > [@milanfahrnholz](#):
> >
> > using the phones with the numbpad
> 
> I second this, it happened that I tried to dial a number using the **mum** pad!

Wait, WHAT??  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![ZakPhoenixMcKracken](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/zakphoenixmckracken/32/41_2.png) [@ZakPhoenixMcKracken](https://forums.thimbleweedpark.com/u/ZakPhoenixMcKracken)\
**Post date:** [June 8, 2017, 8:14am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/30 "2017-06-08T08:14:47Z")

</div>

> [@Nor\_Treblig](#):
>
> > [@ZakPhoenixMcKracken](#):
> >
> > I second this, it happened that I tried to dial a number using the **mum** pad!
> 
> Wait, WHAT??

Didn’t tell you? I own the original Cousin Ted’s keyboard!

 ![](https://canada1.discourse-cdn.com/flex030/uploads/thimbleweedpark/original/1X/96b62747d893cba33b7d169343f5e18d33c6da95.jpg)

---

<div class="post-metadata">

**Author:** ![milanfahrnholz](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@milanfahrnholz](https://forums.thimbleweedpark.com/u/milanfahrnholz)\
**Post date:** [June 8, 2017, 10:17am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/31 "2017-06-08T10:17:33Z")

</div>

> [@Nor\_Treblig](#):
>
> Wait, WHAT??

At least he didn´t write “Mumm **cat** ”, that couldn´t be because Mumm-Ra hates the Thundercats!

> [@Nor\_Treblig](#):
>
> In general I find it a little bit strange when ghosts in video games or movies are bound to the floor. Of course it’s often done for practical reasons.

There is really only one way for a ghost to haunt a hotel floor

![](https://canada1.discourse-cdn.com/flex030/uploads/thimbleweedpark/original/1X/3a32e76f8a632dd30c7612845cede0dca8eb3de9.gif)

---

<div class="post-metadata">

**Author:** ![Someone](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Someone](https://forums.thimbleweedpark.com/u/Someone)\
**Post date:** [June 8, 2017, 10:51am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/32 "2017-06-08T10:51:15Z")

</div>

> [@Caven](#):
>
> Would it be possible to enable keyboard shortcuts for the elevator when standing inside it?

I would welcome shortcuts in the elevator too. At least I used the elevator many many times and it would be great if you could speed up that a little bit.

> [@milanfahrnholz](#):
>
> Seriously though, being able to use the elevator with the numbers on the keyboard or even better using the phones with the numbpad sound like nice idea.

Great idea! I vote for this too. 🙂

---

<div class="post-metadata">

**Author:** ![Nor\_Treblig](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/nor_treblig/32/216_2.png) [@Nor\_Treblig](https://forums.thimbleweedpark.com/u/Nor_Treblig)\
**Post date:** [June 8, 2017, 11:23am UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/33 "2017-06-08T11:23:02Z")

</div>

> [@ZakPhoenixMcKracken](#):
>
> Didn’t tell you? I own the original Cousin Ted’s keyboard!

I always cringe when people enter numbers using the digits above the letters (assuming they have a numpad).  
Or using a calculator application with the mouse.

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [June 8, 2017, 3:42pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/34 "2017-06-08T15:42:04Z")

</div>

One problem with using the numpad to enter phone numbers is the payout is not the same (at least on US keyboards). For some quirk in history, they decided to flip the layout from phones and keyboards.

Either way, I have implemented the numpad, so it will be in the next patch.

---

<div class="post-metadata">

**Author:** ![milanfahrnholz](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@milanfahrnholz](https://forums.thimbleweedpark.com/u/milanfahrnholz)\
**Post date:** [June 8, 2017, 3:47pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/35 "2017-06-08T15:47:11Z")

</div>

> [@RonGilbert](#):
>
> For some quirk in history, they decided to flip the layout from phones and keyboards

I cannot believe I haven´t noticed that, while it´s directly in front of my eyes! Of course the numpad is upside down and 123 are on the bottom while 789 are on top! Well at least 456 is still in the middle, thanks a lot anyway can´t wait to try it!

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [June 8, 2017, 3:50pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/36 "2017-06-08T15:50:13Z")

</div>

FWIW, implementing keyboard input is a PITA. All you get back are scan codes, and they are completely different on different keyboards, so you have to do a lot of odd mapping, plus there is the modifier keys (like shift). On US keyboards, the { and } keys are shift [and]. There is only one scan code for the { and [ key, but on other keyboards, the { and [ and not the same key, so you can’t just assume shift. The operating systems deal with these translation, but most games don’t use the OS to get key presses (it’s cumbersome and slow). We use SDL for input. SDL has a way to turn on natural input, but it’s meant for text input, not fast key presses. Maybe there is a SDL function to simply return the ascii and not the scan code. If someone knows how to do this, I’m all ears.

---

<div class="post-metadata">

**Author:** ![ZakPhoenixMcKracken](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/zakphoenixmckracken/32/41_2.png) [@ZakPhoenixMcKracken](https://forums.thimbleweedpark.com/u/ZakPhoenixMcKracken)\
**Post date:** [June 8, 2017, 4:34pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/37 "2017-06-08T16:34:13Z")

</div>

> [@RonGilbert](#):
>
> SDL has a way to turn on natural input, but it’s meant for text input, not fast key presses. Maybe there is a SDL function to simply return the ascii and not the scan code.

So you are searching for an SDL function that “converts” scancode constants (SDL\_SCANCODE\_KP\_0 … SDL\_SCANCODE\_KP\_9 or SDLK\_KP\_0 … SDLK\_KP\_9) in ASCII values (48…57).  
Correct?  
But in this way, if a user presses a cipher on the numpad, or on the first top line, he gets the same results.  
Aren’t keys from 1 to 5 (on the top line) reserved for switching characters?

Back to SDL: try the _keysym_ property. It has 2 fields that could interest you:

- sym
- unicode

The first one returns a keycode (i.e. SDLK\_KP\_0), but the second one returns the unicode ASCII number of the graphical representation. For numbers, it should be OK.

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [June 8, 2017, 4:48pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/38 "2017-06-08T16:48:36Z")

</div>

> [@ZakPhoenixMcKracken](#):
>
> The first one returns a keycode (i.e. SDLK\_KP\_0), but the second one returns the unicode ASCII number of the graphical representation

I tried that a while ago, and it doesn’t contain valid data. Maybe it works on Win, but not on the Mac? I’ll investigate further when I have some time. Priority is the mobile ports right now. Thanks.

---

<div class="post-metadata">

**Author:** ![RonGilbert](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/rongilbert/32/7_2.png) [@RonGilbert](https://forums.thimbleweedpark.com/u/RonGilbert)\
**Post date:** [June 8, 2017, 4:59pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/39 "2017-06-08T16:59:22Z")

</div>

I just looked at this again, there is no unicode field in SDL2.

---

<div class="post-metadata">

**Author:** ![ZakPhoenixMcKracken](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.thimbleweedpark.com/zakphoenixmckracken/32/41_2.png) [@ZakPhoenixMcKracken](https://forums.thimbleweedpark.com/u/ZakPhoenixMcKracken)\
**Post date:** [June 8, 2017, 5:10pm UTC](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718/40 "2017-06-08T17:10:04Z")

</div>

Uhm, searching on the Internet, I stumbled into [this topic](http://forums.libsdl.org/viewtopic.php?t=8340).  
Briefly: from SDL1 to SDL2, they deprecated the “unicode” field. A programmer should call a SDL\_TextInputEvent, but I think you already tried that.  
The topic shows some user interactions and ideas to workaround this problem, that exists through cross-platform and non-Latin alphabet (i.e. chinese).

[Previous page](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718.md?page=1)

[Next page](https://forums.thimbleweedpark.com/t/keyboard-shortcuts/718.md?page=3)
