C# Class Ypsilon.Providers.InputProvider

This is a front end to Ypsilon.Core.Input.InputManager that provides messages to
Inheritance: IInputProvider
Afficher le fichier Open project: ZaneDubya/YCPU Class Usage Examples

Méthodes publiques

Méthode Description
HandleKeyboardEvent ( KeyboardEvent type, WinKeys key, bool shift, bool alt, bool ctrl ) : bool
InputProvider ( InputManager input ) : System
TryGetKeyboardEvent ( bool translateASCII, ushort &eventCode ) : bool
Update ( float totalSeconds, float frameSeconds ) : void

Method Details

HandleKeyboardEvent() public méthode

public HandleKeyboardEvent ( KeyboardEvent type, WinKeys key, bool shift, bool alt, bool ctrl ) : bool
type KeyboardEvent
key WinKeys
shift bool
alt bool
ctrl bool
Résultat bool

InputProvider() public méthode

public InputProvider ( InputManager input ) : System
input Ypsilon.Core.Input.InputManager
Résultat System

TryGetKeyboardEvent() public méthode

public TryGetKeyboardEvent ( bool translateASCII, ushort &eventCode ) : bool
translateASCII bool
eventCode ushort
Résultat bool

Update() public méthode

public Update ( float totalSeconds, float frameSeconds ) : void
totalSeconds float
frameSeconds float
Résultat void