Class InputManager
- Namespace
- Alis.Core.Ecs.System.Manager.Input
- Assembly
- Alis.dll
The graphic manager base class
public class InputManager : AManager, IManager, IEnabled, IIdentifier, IRuntime
Inheritance
Implements
Inherited Members
Fields
axis
The sdl game controller axis
internal readonly List<GameControllerAxis> axis
Field Value
buttons
The sdl game controller button
internal readonly List<GameControllerButton> buttons
Field Value
sdlEvent
The sdl event
internal Event sdlEvent
Field Value
tempListOfKeys
Temp list of keys
internal List<KeyCodes> tempListOfKeys
Field 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
key
KeyCodes-
The key
NotifyKeyPress(KeyCodes)
Notifies the key press using the specified key
internal void NotifyKeyPress(KeyCodes key)
Parameters
key
KeyCodes-
The key
NotifyKeyRelease(KeyCodes)
Notifies the key release using the specified key
internal void NotifyKeyRelease(KeyCodes key)
Parameters
key
KeyCodes-
The key
OnDispatchEvents()
Ons the dispatch events
public override void OnDispatchEvents()
OnInit()
Ons the init
public override void OnInit()