C# Class DotNES.Core.KeyboardController

Inheritance: Controller
Datei anzeigen Open project: brandonpelfrey/dotnes

Public Properties

Property Type Description
DEFAULT_PLAYER_ONE_CONTROLLER Controller
DEFAULT_PLAYER_TWO_CONTROLLER Controller

Public Methods

Method Description
KeyboardController ( Keys a, Keys b, Keys select, Keys start, Keys up, Keys down, Keys left, Keys right ) : System
getA ( ) : bool
getB ( ) : bool
getDown ( ) : bool
getLeft ( ) : bool
getRight ( ) : bool
getSelect ( ) : bool
getStart ( ) : bool
getUp ( ) : bool

Method Details

KeyboardController() public method

public KeyboardController ( Keys a, Keys b, Keys select, Keys start, Keys up, Keys down, Keys left, Keys right ) : System
a Keys
b Keys
select Keys
start Keys
up Keys
down Keys
left Keys
right Keys
return System

getA() public method

public getA ( ) : bool
return bool

getB() public method

public getB ( ) : bool
return bool

getDown() public method

public getDown ( ) : bool
return bool

getLeft() public method

public getLeft ( ) : bool
return bool

getRight() public method

public getRight ( ) : bool
return bool

getSelect() public method

public getSelect ( ) : bool
return bool

getStart() public method

public getStart ( ) : bool
return bool

getUp() public method

public getUp ( ) : bool
return bool

Property Details

DEFAULT_PLAYER_ONE_CONTROLLER public_oe static_oe property

public static Controller DEFAULT_PLAYER_ONE_CONTROLLER
return Controller

DEFAULT_PLAYER_TWO_CONTROLLER public_oe static_oe property

public static Controller DEFAULT_PLAYER_TWO_CONTROLLER
return Controller