C# Class idTech4.Input.idInputSystem

Show file Open project: iainmckay/idtech4.net

Public Methods

Method Description
GetCommandButton ( Keys key ) : UserCommandButton
GetKeyFromString ( string identifier ) : Keys
Init ( ) : void
IsKeyDown ( Keys key ) : bool
SetBinding ( Keys key, string binding ) : void
Update ( ) : void
idInputSystem ( ) : System

Private Methods

Method Description
Cmd_Bind ( object sender, CommandEventArgs e ) : void
Cmd_UnbindAll ( object sender, CommandEventArgs e ) : void
InitCommands ( ) : void
ProcessKeyboard ( ) : void
ProcessMouse ( ) : void

Method Details

GetCommandButton() public method

public GetCommandButton ( Keys key ) : UserCommandButton
key Keys
return UserCommandButton

GetKeyFromString() public method

public GetKeyFromString ( string identifier ) : Keys
identifier string
return Keys

Init() public method

public Init ( ) : void
return void

IsKeyDown() public method

public IsKeyDown ( Keys key ) : bool
key Keys
return bool

SetBinding() public method

public SetBinding ( Keys key, string binding ) : void
key Keys
binding string
return void

Update() public method

public Update ( ) : void
return void

idInputSystem() public method

public idInputSystem ( ) : System
return System