16.01.2013 07:15, Bart Oldeman пишет: > You are correct about /dev/input/mice. Unfortunately for SDL, libgpm > is GPLed, so is incompatible with SDL's LGPL license (depending on > libgpm would make the whole of SDL GPL). There was some talk about > that on the SDL/GPM (making libgpm LGPL'ed) mailing list back in 2005 > but nothing changed. Licensing again... :) They probably could invent an API for an external mouse plugins, which will then also include the gpm's GPLed plugin that the GPLed projects could use.
> Anyway, gpm is mostly useful for dosemu in terminal mode (on the > console); for SDL-on-console /dev/input/mice is ok. What kind of OK, if it requires root? This is very far from OK. Furthermore, I worry if this works at all: what if gpm will read data from /dev/input/mice concurrently with SDL? But I took the code of SDL-2 branch, and it seems they have dropped all the console mouse support, and instead are using directfb API. Does this solve the gpm compatibility problem is what I don't know. ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Dosemu-devel mailing list Dosemu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dosemu-devel