Class InputManager
- Namespace
- Alis.Core.Ecs.System.Manager.Input
- Assembly
- Alis.dll
The graphic manager base class
public class InputManager : AManager, IManager, IEnabled, IIdentifier, IRuntimeInheritance
Implements
Inherited Members
Fields
axis
The sdl game controller axis
internal readonly List<GameControllerAxis> axisField Value
buttons
The sdl game controller button
internal readonly List<GameControllerButton> buttonsField Value
sdlEvent
The sdl event
internal Event sdlEventField Value
tempListOfKeys
Temp list of keys
internal List<KeyCodes> tempListOfKeysField Value
Methods
HandleSdlJoyAxisMotionEvent()
Handles the sdl joy axis motion event
internal void HandleSdlJoyAxisMotionEvent()HandleSdlJoyButtonDownEvent()
Handles the sdl joy button down event
internal void HandleSdlJoyButtonDownEvent()HandleSdlKeydownEvent()
Handles the sdl keydown event
internal void HandleSdlKeydownEvent()HandleSdlKeyupEvent()
Handles the sdl keyup event
internal void HandleSdlKeyupEvent()HandleSdlQuitEvent()
Handles the sdl quit event
internal void HandleSdlQuitEvent()NotifyKeyHold()
Notifies the key hold
internal void NotifyKeyHold()NotifyKeyHold(KeyCodes)
Notifies the key hold using the specified key
internal void NotifyKeyHold(KeyCodes key)Parameters
keyKeyCodes-
The key
NotifyKeyPress(KeyCodes)
Notifies the key press using the specified key
internal void NotifyKeyPress(KeyCodes key)Parameters
keyKeyCodes-
The key
NotifyKeyRelease(KeyCodes)
Notifies the key release using the specified key
internal void NotifyKeyRelease(KeyCodes key)Parameters
keyKeyCodes-
The key
OnDispatchEvents()
Ons the dispatch events
public override void OnDispatchEvents()OnInit()
Ons the init
public override void OnInit()