![]() |
Public API Reference |
#include <binder.h>
Inheritance diagram for iInputBinder:
Public Methods | |
virtual iEventHandler * | QueryHandler ()=0 |
Get a pointer to the embedded iEventHander This class can be registered with the event queue: EventQueue->RegisterListener(InputBinder->QueryHandler (), CSMASK_Input);. More... | |
virtual void | Bind (iEvent &, iInputBinderBoolean *, bool toggle=false)=0 |
Bind a bool to a keyboard key or mouse or joystick button status. More... | |
virtual void | Bind (iEvent &, iInputBinderPosition *)=0 |
Bind two int's to the x and y axes of a mouse or joystick. More... | |
virtual bool | Unbind (iEvent &)=0 |
Remove a binding. More... | |
virtual bool | UnbindAll ()=0 |
Remove all bindings. More... |
Definition at line 60 of file iutil/binder.h.
|
Bind two int's to the x and y axes of a mouse or joystick.
Implemented in csInputBinder. |
|
Bind a bool to a keyboard key or mouse or joystick button status. If toggle is true, one press activates and the second deactivates. Otherwise, keydown activates and keyup deactivates. Implemented in csInputBinder. |
|
Get a pointer to the embedded iEventHander This class can be registered with the event queue: EventQueue->RegisterListener(InputBinder->QueryHandler (), CSMASK_Input);.
Implemented in csInputBinder. |
|
Remove a binding.
Implemented in csInputBinder. |
|
Remove all bindings.
Implemented in csInputBinder. |