BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
nesctrl.h File Reference

NES controller emulation module for touch screen devices. More...

#include <beep8.h>

Go to the source code of this file.

Classes

class  CfgNesCtrl
 Configuration for the NES controller. More...
 
class  CNesCtrl
 NES controller emulation class. More...
 

Enumerations

enum class  ENesCtrl : u8 {
  LEFT , UP , RIGHT , DOWN ,
  BTN_A , BTN_B , MAX
}
 Enumeration of NES controller buttons. More...
 

Detailed Description

NES controller emulation module for touch screen devices.

This module provides an emulation of the NES controller, allowing touch screen devices to simulate NES controller inputs. It is designed for use in debugging environments and tool development. In actual games, a serial console is not available, so this module is intended solely for debugging purposes and is not mandatory for users.

Enumeration Type Documentation

◆ ENesCtrl

enum class ENesCtrl : u8
strong

Enumeration of NES controller buttons.

This enum defines the buttons available on the NES controller.

Enumerator
LEFT 

Left button

UP 

Up button

RIGHT 

Right button

DOWN 

Down button

BTN_A 

A button

BTN_B 

B button

MAX 

Maximum value