Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces
UserInputEventModule.hpp File Reference

Classes

struct  castor3d::KeyboardState
 Keyboard state. More...
 
struct  castor3d::MouseState
 Mouse state. More...
 

Namespaces

namespace  castor3d
 

UserInput

enum class  castor3d::UserInputEventType {
  castor3d::eMouse = 0 , castor3d::eKeyboard = 1 , castor3d::eHandler = 2 , castor3d::eCount ,
  castor3d::eMin = eMouse
}
 Supported events types enumeration. More...
 
enum class  castor3d::MouseEventType : uint8_t {
  castor3d::eMove = 0 , castor3d::eEnter = 1 , castor3d::eHover = 2 , castor3d::eLeave = 3 ,
  castor3d::ePushed = 4 , castor3d::eReleased = 5 , castor3d::eWheel = 6 , castor3d::eCount ,
  castor3d::eMin = eMove
}
 Enumeration of supported mouse events. More...
 
enum class  castor3d::KeyboardEventType : uint8_t {
  castor3d::ePushed = 0 , castor3d::eReleased = 1 , castor3d::eChar = 2 , castor3d::eCount ,
  castor3d::eMin = ePushed
}
 Enumeration of supported keyboard events. More...
 
enum class  castor3d::HandlerEventType : uint8_t { castor3d::eActivate = 0 , castor3d::eDeactivate = 1 , castor3d::eCount , castor3d::eMin = eActivate }
 Enumeration of supported handler events. More...
 
enum class  castor3d::MouseButton {
  castor3d::eLeft = 0 , castor3d::eMiddle = 1 , castor3d::eRight = 2 , castor3d::eCount ,
  castor3d::eMin = eLeft
}
 Mouse buttons enumeration. More...
 
enum class  castor3d::MouseCursor {
  castor3d::eArrow = 0 , castor3d::eHand = 1 , castor3d::eText = 2 , castor3d::eSizeWE = 3 ,
  castor3d::eSizeNS = 4 , castor3d::eSizeNWSE = 5 , castor3d::eSizeNESW = 6 , castor3d::eCount ,
  castor3d::eMin = eArrow
}
 Mouse cursors enumeration. More...
 
enum class  castor3d::KeyboardKey {
  castor3d::eNone = 0x00 , castor3d::eBackspace = 0x08 , castor3d::eTab = 0x0A , castor3d::eReturn = 0x0D ,
  castor3d::eEscape = 0x1B , castor3d::eSpace = 0x20 , castor3d::eAsciiBegin = eSpace , castor3d::eDelete = 0x7F ,
  castor3d::eAsciiEnd = 0xFF , castor3d::eStart = 0x100 , castor3d::eLButton = 0x101 , castor3d::eRButton = 0x102 ,
  castor3d::eCancel = 0x103 , castor3d::eMButton = 0x104 , castor3d::eClear = 0x105 , castor3d::eShift = 0x106 ,
  castor3d::eAlt = 0x107 , castor3d::eControl = 0x108 , castor3d::eMenu = 0x109 , castor3d::ePause = 0x10A ,
  castor3d::eCapital = 0x10B , castor3d::eEnd = 0x10C , castor3d::eHome = 0x10D , castor3d::eLeft = 0x10E ,
  castor3d::eUp = 0x10F , castor3d::eRight = 0x110 , castor3d::eDown = 0x111 , castor3d::eSelect = 0x112 ,
  castor3d::ePrint = 0x113 , castor3d::eExecute = 0x114 , castor3d::eSnapshot = 0x115 , castor3d::eInsert = 0x116 ,
  castor3d::eHelp = 0x117 , castor3d::eNumpad0 = 0x118 , castor3d::eNumpad1 = 0x119 , castor3d::eNumpad2 = 0x11A ,
  castor3d::eNumpad3 = 0x11B , castor3d::eNumpad4 = 0x11C , castor3d::eNumpad5 = 0x11D , castor3d::eNumpad6 = 0x11E ,
  castor3d::eNumpad7 = 0x11F , castor3d::eNumpad8 = 0x120 , castor3d::eNumpad9 = 0x121 , castor3d::eMultiply = 0x122 ,
  castor3d::eAdd = 0x123 , castor3d::eSeparator = 0x124 , castor3d::eSubtract = 0x125 , castor3d::eDecimal = 0x126 ,
  castor3d::eDivide = 0x127 , castor3d::eF1 = 0x128 , castor3d::eF2 = 0x129 , castor3d::eF3 = 0x12A ,
  castor3d::eF4 = 0x12B , castor3d::eF5 = 0x12C , castor3d::eF6 = 0x12D , castor3d::eF7 = 0x12E ,
  castor3d::eF8 = 0x12F , castor3d::eF9 = 0x130 , castor3d::eF10 = 0x131 , castor3d::eF11 = 0x132 ,
  castor3d::eF12 = 0x133 , castor3d::eF13 = 0x134 , castor3d::eF14 = 0x135 , castor3d::eF15 = 0x136 ,
  castor3d::eF16 = 0x137 , castor3d::eF17 = 0x138 , castor3d::eF18 = 0x139 , castor3d::eF19 = 0x13A ,
  castor3d::eF20 = 0x13B , castor3d::eF21 = 0x13C , castor3d::eF22 = 0x13D , castor3d::eF23 = 0x13E ,
  castor3d::eF24 = 0x13F , castor3d::eNumlock = 0x140 , castor3d::eScroll = 0x141 , castor3d::ePageUp = 0x142 ,
  castor3d::ePageDown = 0x143 , castor3d::eNumpadSpace = 0x144 , castor3d::eNumpadTab = 0x145 , castor3d::eNumpadEnter = 0x146 ,
  castor3d::eNumpadF1 = 0x147 , castor3d::eNumpadF2 = 0x148 , castor3d::eNumpadF3 = 0x149 , castor3d::eNumpadF4 = 0x14A ,
  castor3d::eNumpadHome = 0x14B , castor3d::eNumpadLeft = 0x14C , castor3d::eNumpadUp = 0x14D , castor3d::eNumpadRight = 0x14E ,
  castor3d::eNumpadDown = 0x14F , castor3d::eNumpadPageUp = 0x150 , castor3d::eNumpadPageDown = 0x151 , castor3d::eNumpadEnd = 0x152 ,
  castor3d::eNumpadBegin = 0x153 , castor3d::eNumpadInsert = 0x154 , castor3d::eNumpadDelete = 0x155 , castor3d::eNumpadEqual = 0x156 ,
  castor3d::eNumpadMultiply = 0x157 , castor3d::eNumpadAdd = 0x158 , castor3d::eNumpadSeparator = 0x159 , castor3d::eNumpadSubtract = 0x15A ,
  castor3d::eNumpadDecimal = 0x15B , castor3d::eNumpadDivide = 0x15C
}
 Keyboard keys enumeration. More...
 
using castor3d::UserInputEventSPtr = castor::SharedPtr< UserInputEvent >
 
using castor3d::KeyboardEventSPtr = castor::SharedPtr< KeyboardEvent >
 
using castor3d::MouseEventSPtr = castor::SharedPtr< MouseEvent >
 
using castor3d::HandlerEventSPtr = castor::SharedPtr< HandlerEvent >
 
C3D_API castor::String castor3d::getName (UserInputEventType value)
 
C3D_API castor::String castor3d::getName (MouseEventType value)
 
C3D_API castor::String castor3d::getName (KeyboardEventType value)
 
C3D_API castor::String castor3d::getName (HandlerEventType value)
 
C3D_API castor::String castor3d::getName (MouseButton value)
 
 castor3d::CU_DeclareSmartPtr (castor3d, EventHandler, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, UserInputListener, C3D_API)