Firefly Zero
The official C SDK for making Firefly Zero apps.
Loading...
Searching...
No Matches
Buttons Struct Reference

State of the buttons. True is pressed, false is released. More...

#include <firefly.h>

Public Attributes

bool s
 South. The bottom button, like A on the X-Box controller.
bool e
 East. The right button, like B on the X-Box controller.
bool w
 West. The left button, like X on the X-Box controller.
bool n
 North. The top button, like Y on the X-Box controller.
bool menu
 The menu button, almost always handled by the runtime.

Detailed Description

State of the buttons. True is pressed, false is released.

Member Data Documentation

◆ e

bool Buttons::e

East. The right button, like B on the X-Box controller.

Typically used for cancellation, going to previous screen, etc.

◆ n

bool Buttons::n

North. The top button, like Y on the X-Box controller.

Typically used for a secondary action, like charged attack.

◆ s

bool Buttons::s

South. The bottom button, like A on the X-Box controller.

Typically used for confirmation, main action, jump, etc.

◆ w

bool Buttons::w

West. The left button, like X on the X-Box controller.

Typically used for attack.


The documentation for this struct was generated from the following file: