On Sat, 28 Dec 2013 11:44:30 -0800 Jason Gerecke <killert...@gmail.com> said:
0001 - ok 0002 - i smell problems maybe... i'd have to test - but that code specifically was written to detect and mpx-style setup as well as xi2.2 etc. an this may break it. 0003 - as per my mail erply to your previous mail :) 0004 - as per previous mail - Evas_Device *dev pointer in struct, also missing void *data field (general field in all events), event_src object ptr, ... maybe modifiers... event_flags... and then we need to consider canvs vs output values/coords. remember that evas will transform coordinates if an object is rotated or tiled in 3d etc. but then canvas coords will be the properly calculated/translated coords and output will be pre-transform (raw on-canvas/screen coords). 0005 - ok 0006 - ok 0007 - ok :) > Since I haven't gotten any feedback on the proposal above, I've gone > ahead and whipped up some work-in-progress patches that actually > implement it. These add events to Ecore and Evas which can be used by > applications that want to be notified of changes in arbitrary device > axes (e.g. a pen's pressure axis). It builds on the code present in > ecore_x_xi2.c that only selected for and passed along multi-touch > events, re-writing it to send both multi-touch and axis update events > as appropriate. Axis update events are sent for *any* axis at the > moment, including X and Y, so at the very least you should see your > mouse relaying information through; if you happen to have a graphics > tablet or other input device with additional axes things will be a > little more interesting. > > I've thrown in some rough debug logging at the moment that can be > enabled `export EINA_LOG_LEVELS=ecore_x:10,ecore_input_evas:10`. > > Please give the attached patches a look and provide any feedback that > you can. I still have some TODO items to address (e.g. transforming > tilt values from tilt-x and tilt-y to altitude and azimuth) and > there's certain to be a bit of cleanup work (I'm still trying to > figure out the code style so I can match it) but the core of the code > should be sound. > > Jason > --- > Now instead of four in the eights place / > you’ve got three, ‘Cause you added one / > (That is to say, eight) to the two, / > But you can’t take seven from three, / > So you look at the sixty-fours.... -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel