Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Loading the Blender model…
0/50
Five directions and one OK press, each a separate tactile switch.
Module: Display and input
The orange cap rocks on a central pivot and presses one of four tact switches (SW5–SW8, 8.4 mm from the centre on the official drawing); the OK cap presses SW4 and Back presses SW3. All six sit directly on the main PCB and pull GPIOs low (Buttons schematic).
Click the D-pad on the 3D model — the hit position decides the direction.
bool pressed = !furi_hal_gpio_read(&gpio_button_up);
How many switches does the D-pad use?
← 9. Drawing with the canvas API · All lessons · 11. Input events and the Back button →
Try it yourself
l10_d_pad_and_tactile_swit.c
bool pressed = !furi_hal_gpio_read(&gpio_button_up);