C# Class NES.Joypads

ファイルを表示 Open project: mrmikey/nes Class Usage Examples

Public Properties

Property Type Description
Keys int[]

Public Methods

Method Description
Deinitialise ( ) : void
Initialise ( ) : void
IsPressed ( Key Key ) : bool
Joypads ( ) : System
Read ( int joyNo ) : byte
Write ( int joyNo, int val ) : void

Private Methods

Method Description
glfwKeyFun ( int keyValue, int down ) : void

Method Details

Deinitialise() public method

public Deinitialise ( ) : void
return void

Initialise() public method

public Initialise ( ) : void
return void

IsPressed() public method

public IsPressed ( Key Key ) : bool
Key Key
return bool

Joypads() public method

public Joypads ( ) : System
return System

Read() public method

public Read ( int joyNo ) : byte
joyNo int
return byte

Write() public method

public Write ( int joyNo, int val ) : void
joyNo int
val int
return void

Property Details

Keys public_oe property

public int[] Keys
return int[]