The P40 keyboard, equipped with the NRF52840 microcontroller and ZMK firmware, features the following default configurations. Please note that minor adjustments to the bottom row may occur depending on the physical keyboard layout.
All keys are of the same size (1u).
Spacebar occupies 2 keys (2u).
These keyboards feature several dual-role keys, which perform different functions depending on how they are used. For example, tapping the Space key inputs a space character, while holding it down activates Layer 1 (LT1), similar to the Fn key on a laptop. Buttons marked with LTn denote these dual-role keys.
In addition to the default layer, the P40 has four additional layers:
Layer 1 (LT1): This layer primarily includes the numeric row and common symbols.
Layer 2 (LT2): This layer consists of function keys.
Layer 3 (LT3): This layer features arrow keys.
Layer 4 (LT4): This layer is dedicated to BLE and RGB LED functions.
Another example: if you hold down the Space key to activate Layer 1 (LT1) and then tap Q, it will output the number 1. Conversely, if you hold down Backspace (BS) to activate Layer 2 (LT2) and then tap Q, it will trigger F1."
LT4 + Z: Activates BT_USB, which restricts the connection to USB (wired).
LT4 + Ctrl: Activates BT_BLE, which forces the connection to BLE (wireless).
BT_Cl: Clears the current profile. For more details, please refer to the documentation.
BT_Pr and BT_Nx: Toggle between different profiles.
LT4 + Esc: Enters bootloader mode. When activated and keypad is connected via USB cable, the keypad will disconnect, and a new drive will appear on your computer. This mode is used for firmware updates. To exit bootloader mode without changing the current firmware, power off and then power on the keypad.
EP_TOG: Toggles the power from VCC, primarily used to control RGB lighting. This feature helps improve battery life. See the documentation for more information.
LT4 + - (dash): Toggles RGB lighting on or off. This has the same effect as EP_TOG.
Other RGB Lighting Controls:
EFR: Select lighting effect (reverse)
EFF: Select lighting effect (forward)
HUD: Decreases hue.
HUI: Increases hue.
SPI: Decreases light effect speed.
SPD: Increases light effect speed.
BRD: Decreases brightness.
BRI: Increases brightness.
Pabile keypads run on ZMK Firmware, which currently doesn't have a graphical user interface (GUI) for configuration. All adjustments need to be made at the firmware level. You'll need to set up a local ZMK environment and compile the firmware to make changes. For detailed setup instructions, refer to the ZMK documentation.
Once your build environment is set up, you can use the P40 configuration files as a reference, available at this link.
To download the default firmware for the P40, follow this link.
Please see official documentation: https://zmk.dev/docs/features/studio#accessing-zmk-studio
ZMK Studio-compatible firmware for P40v3: https://github.com/pabile/Pabile-Keyboards/blob/main/firmware_precompiled/zmk/zmk-nicenano2-pabile40v3-studio.uf2