Sha256: 01ef45e62588d029ff811d60cdf86ee5b7b5d475fe96667189e7dc7f34529317

Contents?: true

Size: 489 Bytes

Versions: 6

Compression:

Stored size: 489 Bytes

Contents

%{
#include <OISInputManager.h>
%}

%include OISInputManager.h

%extend OIS::InputManager {
	OIS::Keyboard* createKeyboard(bool bufferMode, const std::string &vendor = "") {
		OIS::Keyboard* key = dynamic_cast<OIS::Keyboard*>(self->createInputObject(OIS::OISKeyboard, bufferMode, vendor));
		return key;
	}
}


%{
	typedef typename OIS::Type Type;
	typedef typename OIS::DeviceList DeviceList;
	typedef typename OIS::Object Object;
	typedef typename OIS::FactoryCreator FactoryCreator;
%}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ruby-ois-0.0.1-x86-linux bindings/ois/interface/OIS_InputManager.i
ruby-ogre-0.0.5-x86-linux bindings/ois/interface/OIS_InputManager.i
ruby-ogre-0.0.4-x86-linux bindings/ois/interface/OIS_InputManager.i
ruby-ogre-0.0.3-x86-linux bindings/ois/interface/OIS_InputManager.i
ruby-ogre-0.0.2-x86-linux bindings/ois/interface/OIS_InputManager.i
ruby-ogre-0.0.1-x86-linux bindings/ois/interface/OIS_InputManager.i