OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
InputScriptEventHandler Class Reference

#include <InputScriptEventHandler.h>

Inheritance diagram for InputScriptEventHandler:
PlatformEventFilter

Public Member Functions

 InputScriptEventHandler (sol::state_view solState)
 
virtual bool keyPressEvent (const PlatformKeyEvent *event) override
 
- Public Member Functions inherited from PlatformEventFilter
 PlatformEventFilter (std::initializer_list< PlatformEventType > eventTypes)
 
 PlatformEventFilter (PlatformEventWildcard eventTypes)
 
virtual bool event (const PlatformEvent *event)
 
const std::vector< PlatformEventTypeeventTypes () const
 

Private Attributes

sol::state_view _solState
 

Additional Inherited Members

- Protected Member Functions inherited from PlatformEventFilter
virtual bool keyPressEvent (const PlatformKeyEvent *event)
 
virtual bool keyReleaseEvent (const PlatformKeyEvent *event)
 
virtual bool mouseMoveEvent (const PlatformMouseEvent *event)
 
virtual bool mousePressEvent (const PlatformMouseEvent *event)
 
virtual bool mouseReleaseEvent (const PlatformMouseEvent *event)
 
virtual bool wheelEvent (const PlatformWheelEvent *event)
 
virtual bool moveEvent (const PlatformMoveEvent *event)
 
virtual bool resizeEvent (const PlatformResizeEvent *event)
 
virtual bool activationEvent (const PlatformWindowEvent *event)
 
virtual bool closeEvent (const PlatformWindowEvent *event)
 
virtual bool gamepadConnectionEvent (const PlatformGamepadEvent *event)
 
virtual bool gamepadKeyPressEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadKeyReleaseEvent (const PlatformGamepadKeyEvent *event)
 
virtual bool gamepadAxisEvent (const PlatformGamepadAxisEvent *event)
 
virtual bool nativeEvent (const PlatformNativeEvent *event)
 
virtual bool textInputEvent (const PlatformTextInputEvent *event)
 

Constructor & Destructor Documentation

◆ InputScriptEventHandler()

InputScriptEventHandler::InputScriptEventHandler ( sol::state_view  solState)
explicit

Member Function Documentation

◆ keyPressEvent()

bool InputScriptEventHandler::keyPressEvent ( const PlatformKeyEvent event)
overridevirtual

Reimplemented from PlatformEventFilter.

Member Data Documentation

◆ _solState

sol::state_view InputScriptEventHandler::_solState
private

The documentation for this class was generated from the following files: