Log In  

Is it possible, to modify the speed of the (keyboard) cursor if you hold one key down.? I think it is too slow and I want to tweak it, to let the cursor move at a higher speed. This might be something for the config.txt.

P#22615 2016-06-10 14:21 ( Edited 2016-06-15 03:52)

On Mac OS X it's controlled by OS

System Preferences > Keyboard > Key Repeat
System Preferences > Keyboard > Delay Until Repeat

What platform are you running on?

P#22618 2016-06-10 15:16 ( Edited 2016-06-10 19:17)

Alternatively, a common shortcut (at least on windows) seems to be Ctrl + [Arrow Keys] to jump from 'word' to 'word'. This appears to also work in Pico-8's editor too, although I don't if the shortcut is the same on Mac or Linux. Hope that's helpful.
Edit: Woops looks like I mis-remembered. Apparently Ctrl + (left/right) Arrow Key jumps every four chars, not every word. [insert smacking head on desk here]

P#22639 2016-06-10 19:48 ( Edited 2016-06-11 23:36)

It seems that internally, the key repeat now works the same as BTNP() does. This is a recent change.

P#22663 2016-06-11 04:36 ( Edited 2016-06-11 08:36)

On macOS that is definitely not the case.

I can dial down the repeat rate in System Preferences and in pico8 it goes slow, and then dial it back up and it goes fast. I do not even have to restart pico8 to see the changes.


Are you guys on Windows or Linux?

P#22699 2016-06-11 17:50 ( Edited 2016-06-11 21:51)

Hm, I am on OS-X 10.11.4 and Pico-8 0.1.6 and I can't see any change in speed when I modify keyboard-settings, so I go with @solars answer more... =)

Is there a way to change BTNP?

P#22770 2016-06-12 15:02 ( Edited 2016-06-12 19:03)

Hmm, I am on OSX 10.11.5 and Pico-8 0.1.6

P#22788 2016-06-12 19:45 ( Edited 2016-06-12 23:46)

Aha, there was a slight misunderstanding, or better an interesting behavior.

The Key-Repeat speed works like you showed in the video, but this is not true for the movement of the cursor using the cursor keys. This speed is somehow fixed and seems, that it can't be modified.

P#22827 2016-06-13 08:57 ( Edited 2016-06-13 12:57)

Aha! Good spot.

P#22828 2016-06-13 09:25 ( Edited 2016-06-13 13:25)

Yeah I noticed this as well. Good call bringing it up here!

P#22900 2016-06-14 23:52 ( Edited 2016-06-15 03:52)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-09-23 08:34:31 | 0.042s | Q:19