Input Manager System first version implemented #50

Merged
mushgunAX merged 6 commits from SP3-10-input-management into main 2022-09-25 17:00:31 +08:00
mushgunAX commented 2022-09-25 16:45:35 +08:00 (Migrated from github.com)

Presently able to handle:

  • Reading keyboard key presses, mouse movement (with movement speed recorded), buttons and scrolling (which needs connection to WM_MOUSEWHEEL to call PollWheelVerticalDelta(wParam))
  • Records how long buttons have been pressed / released, able to get values by functions
  • Checks if buttons are toggled on / off & how long they've been toggled on / off
  • Bool returning functions. Check if keys / mouse buttons are pressed / held / released or not in frame

What should be added soon:

  • Reading and handling controller input via XInput
  • Key bindings
  • Axis bindings
  • Custom axis
  • Axis data-retrieval functions
  • Input Buffer
  • Editor Bindings

Functions tested to work in an isolated breadboard environment. Should be able to work in this engine's context.

**Presently able to handle:** - Reading keyboard key presses, mouse movement (with movement speed recorded), buttons and scrolling (which needs connection to `WM_MOUSEWHEEL` to call `PollWheelVerticalDelta(wParam)`) - Records how long buttons have been pressed / released, able to get values by functions - Checks if buttons are toggled on / off & how long they've been toggled on / off - Bool returning functions. Check if keys / mouse buttons are pressed / held / released or not in frame **What should be added soon:** - Reading and handling controller input via `XInput` - Key bindings - Axis bindings - Custom axis - Axis data-retrieval functions - Input Buffer - Editor Bindings Functions tested to work in an isolated breadboard environment. Should be able to work in this engine's context.
Sign in to join this conversation.
No description provided.