Is there a way to disable "running"? (Holding movement key)


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Lair Larrikin

Posts: 16

Joined: Monday, 8th July 2013, 16:04

Post Monday, 8th July 2013, 16:11

Is there a way to disable "running"? (Holding movement key)

Sometimes my keyboard keys get stuck (not physically) and the computer thinks the key is pressed even though it isn't. For instance I could write a sentence and then suddennnnnnnnnnnnnnnnn. I have to press the same key again to fix it. But when this happen in Crawl with the movement keys it could be the death of my character since if you hold a movement key the character will rush/attack in that direction. Is there a way to disable that? So if you hold a movement key the character will only go 1 step.

I've tried disabling repeating keys in Windows 7 so you can't hold a key and get for example "aaaaaaaaaaaaaaaaaaaaaaaaaaa". But it doesn't affect Crawl.
User avatar

Dungeon Master

Posts: 431

Joined: Tuesday, 13th September 2011, 17:34

Post Monday, 8th July 2013, 16:57

Re: Is there a way to disable "running"? (Holding movement k

If you play tiles, you can put "tile_key_repeat_delay = 0" into your init.txt / rcfile. This should disable keys repeating completely. If you play console, you can probably change it in the settings for whatever shell program you're using.

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Monday, 8th July 2013, 16:58

Re: Is there a way to disable "running"? (Holding movement k

I don't know if this actually works or even if you're playing tiles, but the following option exists:
  Code:
tile_key_repeat_delay = 200
        If you hold down a key, there's a delay until the pressed key will
        take action. This option controls this delay, in milliseconds. If it
        is set to 0 key presses will never repeat.

Lair Larrikin

Posts: 16

Joined: Monday, 8th July 2013, 16:04

Post Monday, 8th July 2013, 17:14

Re: Is there a way to disable "running"? (Holding movement k

Thank you! That was exactly what I was looking for.

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Monday, 8th July 2013, 17:40

Re: Is there a way to disable "running"? (Holding movement k

Glad to hear it! Did it fix your problem?

Lair Larrikin

Posts: 16

Joined: Monday, 8th July 2013, 16:04

Post Monday, 8th July 2013, 20:11

Re: Is there a way to disable "running"? (Holding movement k

Yes

Halls Hopper

Posts: 60

Joined: Friday, 17th December 2010, 02:30

Post Monday, 8th July 2013, 20:12

Re: Is there a way to disable "running"? (Holding movement k

To answer one need to press 'aa'...

Spoiler: show
//post scriptum:
damm timeing
Even with TabO alone Tiles player get a feeling of Console.
There is no mouse in crawl;
Hit ?? ingame!

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.