/* call-seq: * Input.new() -> input * * This will create a new input object. though it will not receive any updates of events. * You should aquire an input object from the SFML::Window#input method. */ static VALUE Input_New( int argc, VALUE * args, VALUE aKlass ) { sf::Input *object = new sf::Input(); VALUE rbData = Data_Wrap_Struct( aKlass, 0, Input_Free, object ); rb_obj_call_init( rbData, argc, args ); return rbData; }