Skip to content

RG35XX - shortcuts are triggering by accident on native PICO-8 #62

@andrejtrindade

Description

@andrejtrindade

Context

By default, MyMinUI remaps some buttons in PICO-8's config.txt with the intention of providing useful shortcuts.

I'll list below just the relevant remaps.

 Button    Key
--------  -----------
 X         M
 Y         Q
 MENU      LEFT CTRL
 SELECT    R

This way you can use MENU + X to mute sounds, MENU + SELECT to reset, and MENU + Y to quit PICO-8.

Problem

map_scancodes does not suppress the original scancode if it corresponds to a modifier key (CTRL, ALT, SHIFT).

Buttons affected: B (LEFT CTRL), X (LEFT SHIFT), Y (LEFT ALT) and R1 (RIGHT CTRL).

This is particularly troublesome with the CTRL keys, as CTRL is the hotkey for PICO-8's shortcuts. For example...

  • If you press B and Y at the same time by accident, sound will be muted.
  • If you press R1 and Y at the same time by accident, PICO-8 will shutdown.

Solution

Do not use face buttons for shortcuts. There is no point in remapping the X and Y buttons.

Suggestion

  1. Remap the POWER button to Q, so that MENU + POWER activates CTRL-Q to quit PICO-8.
  2. Remap the SELECT button to P, so that MENU + SELECT activates the performance monitor.

I believe the performance monitor more useful than the reset shortcut or the mute shortcut.

  • Some games can't play at full speed on the original RG35XX, like pico_ball.
  • You can always reset the cart from the pause menu.
  • You can always lower the volume with VOLUMED DOWN, or you can enter the pause menu and turn off sound in the options.

Here is the line that implements all of the above:

map_scancodes 8=75,41=19,42=77,43=74,44=29,102=20,118=224,224=27,228=78,

And here is the config.txt location:

Tools/rg35xx/Pico-8 Splore.pak/pico8-native/.lexaloffle/pico-8/config.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions