Many thanks Wang. I'll do that.. because having to carry the burden of wrappers (I mean compile+integrate) is too much for me :)
Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ----- Wang Rui <[email protected]> a écrit : > Hi Sukender, > > Serializers are only used for serialization IO of native formats > (osgt/osgb/osgx) at present. If you mean to bind enum values to texts for > reading/writing from files, the macros > BEGIN_ENUM_SERIALIZER, END_ENUM_SERIALIZER and ADD_ENUM_VALUE can work and > there are plenty of examples in the wrappers/serializers folder. > > Cheers, > > Wang Rui > > > 2010/10/17 Sukender <[email protected]> > > > Hi all, > > > > I used to make a keyboard mapping using introspection in previous versions > > of OSG, but I'm a bit lost with new wrappers/serializers/whatever. Can > > anyone tell me how to make a link between a key/mouse button textual > > representation (ex: KEY_space, KEY_minus), and its value, so that users can > > have an key mapping file? > > Thanks. > > > > Sukender > > PVLE - Lightweight cross-platform game engine - > > http://pvle.sourceforge.net/ > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

