The Zandalar project

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Revision as of 14:46, 23 June 2013 by Timotei (Talk | contribs) (Initial version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Zandalar Project is a codename for the new Input archtecture and GUI navigation features.

Input Aggregator & events

For start, the following events will cover all existing functionalities in the 'InjectedInputReceiver' interface:

  • MovementInputEvent
    • Data:
      • Position
      • Delta
    • injectMouseMove
    • injectMousePosition
  • PressedButtonInputEvent
    • Data:
      • Button
    • injectMouseButtonDown
    • injectKeyDown
  • ReleasedButtonInputEvent
    • Data:
      • Button
    • injectMouseButtonUp
    • injectKeyUp
  • ActivatedInputEvent
    • Data:
      • Count (1+)
    • injectMouseButtonClick
    • injectMouseButtonDoubleClick
    • injectMouseButtonTripleClick

Unmapped functions:

  • injectMouseLeaves
  • injectChar
  • injectMouseWheelChange

Original proposition

Some examples of input events are:

  • MovementInputEvent
    • Generated from mouse x/y
    • Generated from joystick/thumbstick x/y
  • PressedInputEvent
    • Generated from mouse button
    • Generated from keyboard button
    • Generated from a gamepad button


One can see that this solution leads us to allow a variety of input to be mapped to certain input events. Of course, each different input event will have some specific payload (the button pressed, the x/y coordinates of the movement, etc.).




At the end of the day, the samples that exist now should work (from the functionality point of view) the same way after the input system is replaced.