Castor3D 0.15.0
Multiplatform 3D engine
Classes | Espaces de nommage
Référence du fichier UserInputEventModule.hpp

Classes

struct  castor3d::KeyboardState
 Etat du clavier. Plus de détails...
 
struct  castor3d::MouseState
 Etat de la souris. Plus de détails...
 

Espaces de nommage

namespace  castor3d
 

UserInput

enum class  castor3d::UserInputEventType {
  castor3d::eMouse , castor3d::eKeyboard , castor3d::eHandler , castor3d::eCount ,
  castor3d::eMin = eMouse , castor3d::eMax =eCount-1
}
 Enumération des types évènements supportés. Plus de détails...
 
enum class  castor3d::MouseEventType : uint8_t {
  castor3d::eMove , castor3d::eEnter , castor3d::eHover , castor3d::eLeave ,
  castor3d::ePushed , castor3d::eReleased , castor3d::eWheel , castor3d::eCount ,
  castor3d::eMin = eMove , castor3d::eMax =eCount-1
}
 
enum class  castor3d::KeyboardEventType : uint8_t {
  castor3d::ePushed , castor3d::eReleased , castor3d::eChar , castor3d::eCount ,
  castor3d::eMin = ePushed , castor3d::eMax =eCount-1
}
 
enum class  castor3d::HandlerEventType : uint8_t {
  castor3d::eActivate , castor3d::eDeactivate , castor3d::eCount , castor3d::eMin = eActivate ,
  castor3d::eMax =eCount-1
}
 
enum class  castor3d::MouseButton {
  castor3d::eLeft , castor3d::eMiddle , castor3d::eRight , castor3d::eCount ,
  castor3d::eMin = eLeft , castor3d::eMax =eCount-1
}
 Enumération des boutons de la souris. Plus de détails...
 
enum class  castor3d::MouseCursor {
  castor3d::eArrow , castor3d::eHand , castor3d::eText , castor3d::eSizeWE ,
  castor3d::eSizeNS , castor3d::eSizeNWSE , castor3d::eSizeNESW , castor3d::eCount ,
  castor3d::eMin = eArrow , castor3d::eMax =eCount-1
}
 Enumération des curseurs de souris. Plus de détails...
 
enum class  castor3d::KeyboardKey {
  castor3d::eNone , 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 , castor3d::eRButton ,
  castor3d::eCancel , castor3d::eMButton , castor3d::eClear , castor3d::eShift ,
  castor3d::eAlt , castor3d::eControl , castor3d::eMenu , castor3d::ePause ,
  castor3d::eCapital , castor3d::eEnd , castor3d::eHome , castor3d::eLeft ,
  castor3d::eUp , castor3d::eRight , castor3d::eDown , castor3d::eSelect ,
  castor3d::ePrint , castor3d::eExecute , castor3d::eSnapshot , castor3d::eInsert ,
  castor3d::eHelp , castor3d::eNumpad0 , castor3d::eNumpad1 , castor3d::eNumpad2 ,
  castor3d::eNumpad3 , castor3d::eNumpad4 , castor3d::eNumpad5 , castor3d::eNumpad6 ,
  castor3d::eNumpad7 , castor3d::eNumpad8 , castor3d::eNumpad9 , castor3d::eMultiply ,
  castor3d::eAdd , castor3d::eSeparator , castor3d::eSubtract , castor3d::eDecimal ,
  castor3d::eDivide , castor3d::eF1 , castor3d::eF2 , castor3d::eF3 ,
  castor3d::eF4 , castor3d::eF5 , castor3d::eF6 , castor3d::eF7 ,
  castor3d::eF8 , castor3d::eF9 , castor3d::eF10 , castor3d::eF11 ,
  castor3d::eF12 , castor3d::eF13 , castor3d::eF14 , castor3d::eF15 ,
  castor3d::eF16 , castor3d::eF17 , castor3d::eF18 , castor3d::eF19 ,
  castor3d::eF20 , castor3d::eF21 , castor3d::eF22 , castor3d::eF23 ,
  castor3d::eF24 , castor3d::eNumlock , castor3d::eScroll , castor3d::ePageUp ,
  castor3d::ePageDown , castor3d::eNumpadSpace , castor3d::eNumpadTab , castor3d::eNumpadEnter ,
  castor3d::eNumpadF1 , castor3d::eNumpadF2 , castor3d::eNumpadF3 , castor3d::eNumpadF4 ,
  castor3d::eNumpadHome , castor3d::eNumpadLeft , castor3d::eNumpadUp , castor3d::eNumpadRight ,
  castor3d::eNumpadDown , castor3d::eNumpadPageUp , castor3d::eNumpadPageDown , castor3d::eNumpadEnd ,
  castor3d::eNumpadBegin , castor3d::eNumpadInsert , castor3d::eNumpadDelete , castor3d::eNumpadEqual ,
  castor3d::eNumpadMultiply , castor3d::eNumpadAdd , castor3d::eNumpadSeparator , castor3d::eNumpadSubtract ,
  castor3d::eNumpadDecimal , castor3d::eNumpadDivide
}
 Enumération des touches du clavier. Plus de détails...
 
using castor3d::UserInputEventSPtr = std::shared_ptr< UserInputEvent >
 
using castor3d::KeyboardEventSPtr = std::shared_ptr< KeyboardEvent >
 
using castor3d::MouseEventSPtr = std::shared_ptr< MouseEvent >
 
using castor3d::HandlerEventSPtr = std::shared_ptr< 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)