BEEP-8 Helper Lib 1.0.0
|
Configuration for the NES controller. More...
#include <nesctrl.h>
Public Attributes | |
s16 | left_pix = 8 |
s16 | top_pix = 160 |
s16 | radius_pix = 4 |
u8 | img_utile = B8_PPU_MAX_WTILE - 8 |
u8 | img_vtile = B8_PPU_MAX_HTILE - 16 |
u8 | img_pal = 1 |
u8 | clear_color = B8_PPU_COLOR_BLACK |
bool | debug_visual = false |
Configuration for the NES controller.
This class holds the configuration settings for the NES controller, including the position, size, and appearance of the controller on the screen.
u8 CfgNesCtrl::clear_color = B8_PPU_COLOR_BLACK |
Clear color for the background.
bool CfgNesCtrl::debug_visual = false |
Enable or disable debug visualization.
u8 CfgNesCtrl::img_pal = 1 |
Palette index for the controller image.
u8 CfgNesCtrl::img_utile = B8_PPU_MAX_WTILE - 8 |
Tile coordinate for image loading (horizontal).
u8 CfgNesCtrl::img_vtile = B8_PPU_MAX_HTILE - 16 |
Tile coordinate for image loading (vertical).
s16 CfgNesCtrl::left_pix = 8 |
X-coordinate offset in pixels.
s16 CfgNesCtrl::radius_pix = 4 |
Radius for touch detection in pixels.
s16 CfgNesCtrl::top_pix = 160 |
Y-coordinate offset in pixels.