Sleeping Wombat GUI  0.100
swGUI
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
sw::input Namespace Reference

Namespaces

 InputFactory
 

Classes

struct  AxisEvent
 Mouse or joystick axis value changed event. More...
 
struct  ButtonEvent
 Mouse button Change event. More...
 
struct  CharacterEvent
 Keyboard event after translation to character. More...
 
struct  CursorEvent
 Cursor position changed event. More...
 
struct  DebugEvent
 Event structure for debugging. This structure holds additionally FrameNumber. This allows user to provide full set of input events ordered by sending time. More...
 
class  DebugInput
 Input class for testing and debugging. More...
 
class  Device
 Interface class for input devices. More...
 
struct  DeviceEvent
 KeyStates changed events. More...
 
class  DirectInputModule
 Klasa obsługująca wejście użytkownika. More...
 
class  EventCapture
 This class provides functionality of capturing events for debug and test purposes. More...
 
class  EventQueue
 Abstraction of event queue. More...
 
class  IInput
 Interface for input classes for capturing user input. More...
 
class  InputDispatcher
 Provides input events in order of creation. This class uses timestamp to sort events. More...
 
struct  InputInitInfo
 Initialization structure for input objects. More...
 
class  JoystickDevice
 Joystick or other controller state and events. More...
 
class  JoystickState
 State of joystick device or other controllers which aren't mouse and keyboard. More...
 
struct  Keyboard
 
class  KeyboardDevice
 Keyboard state and events. More...
 
class  KeyboardState
 State of keyboard buttons. More...
 
struct  KeyEvent
 Keyboard key change event. More...
 
class  KeyState
 Button state structure.. More...
 
struct  Mouse
 
class  MouseDevice
 Mouse state and events. More...
 
class  MouseState
 State of mouse. More...
 
class  WinApiInputProxy
 Klasa do przekierowywania do silnika wejścia pobranego z WPFa. More...
 
class  WPFInputProxy
 Klasa do przekierowywania do silnika wejścia pobranego z WPFa. More...
 

Typedefs

typedef uint16 Timestamp
 

Enumerations

enum  DeviceEventType : uint8 {
  DeviceEventType::KeyboardEvent, DeviceEventType::CharacterEvent, DeviceEventType::ButtonEvent, DeviceEventType::AxisEvent,
  DeviceEventType::CursorEvent, DeviceEventType::InvalidEvent
}
 Input device event types. More...
 
enum  DeviceType : uint8 { DeviceType::Keyboard, DeviceType::Mouse, DeviceType::Joystick }
 Input device types. More...
 

Functions

 DEFINE_OPTR_TYPE (Device)
 
 DEFINE_OPTR_TYPE (JoystickDevice)
 
 DEFINE_OPTR_TYPE (KeyboardDevice)
 
 DEFINE_OPTR_TYPE (MouseDevice)
 
bool ArrayStaticInitializerFun ()
 

Variables

const uint8 KEYBOARD_STATE_KEYS_NUMBER = 255
 
const int8 MOUSE_STATE_MAX_NUM_BUTTONS = 8
 Max number of mouse buttons. More...
 
const int8 MOUSE_STATE_MAX_NUM_AXES = 4
 Max number of mouse axes. More...
 
Mouse::PhysicalButtons MOUSE_BUTTONS_MAPPING [NUM_WINAPI_MOUSE_BUTTONS]
 Tablica mapowania przycisków myszy WinApi na wartości silnikowe. More...
 
Keyboard::PhysicalKeys KEYBOARD_BUTTONS_MAPPING [NUM_WINAPI_KEYBOARD_BUTTONS] ={}
 Tablica mapowania przycisków klawiatury WinApi na wartości silnikowe. More...
 

Typedef Documentation

Function Documentation

bool sw::input::ArrayStaticInitializerFun ( )
sw::input::DEFINE_OPTR_TYPE ( Device  )
sw::input::DEFINE_OPTR_TYPE ( JoystickDevice  )
sw::input::DEFINE_OPTR_TYPE ( MouseDevice  )
sw::input::DEFINE_OPTR_TYPE ( KeyboardDevice  )

Variable Documentation

Keyboard::PhysicalKeys sw::input::KEYBOARD_BUTTONS_MAPPING ={}

Tablica mapowania przycisków klawiatury WinApi na wartości silnikowe.

Tablica mapowania przycisków klawiatury WPFa na wartości silnikowe.

const uint8 sw::input::KEYBOARD_STATE_KEYS_NUMBER = 255
Mouse::PhysicalButtons sw::input::MOUSE_BUTTONS_MAPPING
Initial value:
=
{
Mouse::PhysicalButtons::NONE,
Mouse::PhysicalButtons::LEFT_BUTTON,
Mouse::PhysicalButtons::RIGHT_BUTTON,
Mouse::PhysicalButtons::NONE,
Mouse::PhysicalButtons::MIDDLE_BUTTON,
Mouse::PhysicalButtons::BUTTON3,
Mouse::PhysicalButtons::BUTTON4
}

Tablica mapowania przycisków myszy WinApi na wartości silnikowe.

Tablica mapowania przycisków myszy WPFa na wartości silnikowe.

namespace System.Windows.Input { public enum MouseButton { Left = 0, Middle = 1, Right = 2, XButton1 = 3, XButton2 = 4 } }

const int8 sw::input::MOUSE_STATE_MAX_NUM_AXES = 4

Max number of mouse axes.

const int8 sw::input::MOUSE_STATE_MAX_NUM_BUTTONS = 8

Max number of mouse buttons.