Home | Features | Roadmap | Learn | Documentation | ||
Latest version: Tramway SDK 0.0.9 Github Quick links Home Get Started |
UIThe UI system deals with the creation of windows and taking in of the input. Once initialized, the system will create an operating system window and will start gathering and emitting keyboard and mouse events. It also creates the rendering context. Key conceptsWindowIt's where the graphics are rendered to. Also can be clicked on. Keyboard keyRepresents either a key on a computer keyboard, or a button on a mouse. Yes. Can either be pressed on released. Keyboard axisRepresents cursor position or scroll wheel scrolling. Unlike a keyboard key, an axis has a scalar state. Keyboard actionUnlike a keyboard key, which represents a physical key or something similar, keyboard actions are completely abstract. Keyboard keys can be bound to keyboard actions. This means that pressing and releasing the keyboard key will also trigger the keyboard action. StateThe UI state determines what the system will do with keyboard and mouse inputs. States
Default |
|
|
|