On Sun, 3 Apr 2005, john wrote: > Jesper Mathiassen wrote: > > Has anybody written a plugin which could use a mouse as input for
it can't be made as a plugin (or at least it didn't make sense for us), but i did it by extending the sdl input plugin (the default one that uses pygame) and the event system of Freevo2, see http://studio.kyperjokki.fi/engine/FreevoPointerInput (i don't know/remember if there are links from the freevo2 wiki, as should be) it works and is used by Alex D'Elia in production (as reported in http://sourceforge.net/mailarchive/forum.php?thread_id=6718304&forum_id=9200 but the message is somehow corrupted in the archive?), but afaik is not in cvs yet (and would need some cleaning and thinking still). > > freevo? and by this I dont mean point and click really.. I have a > > wireless mouse with too many buttons, which, due to radio has that is for point&click, but getting support for the buttons is easier 'cause you don't need new event types -- the existing events are fine .. supposing sdl gives all those different buttons correctly should be easy > > done this, so I'd also like to know how to catch these events from the > > mouse and trigger the freevo event so that I might construct a plugin > > myself? for the upcoming freevo2, i hope you'll find the patches linked to on that wiki page useful - they do some necessary changes in the sdl input plugin, input -> event posting, menu event handling etc. > > - Styx > I'm fairly certain someone wrote this already. Search the archives and > the wiki you should be able to find it. i suppose this is that. > Johnm ~Toni ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
