On Tue, 21 Apr 2009 12:14:31 -0400 damagedspl...@aim.com said: > > > Hi, > > > > I recently installed E17 using easy_e17 on my Nokia N810, and saw that right > click support is missing in case touchscreen is all you have to serve as a > mouse. At first I thought there is a way to bind the mouse left right to > "Delayed action" which will trigger either a left click event or a right > click event. I looked at e_actions.c but could not find if there is an Action > which can trigger events (maybe I looked in the wrong place).?
there is a delayed action (it can do 1 on short press and one on long). it's called delayed_action. parameter format is [0.0 action1] [2.0 action2] where the 2 numebrs are delay in seconds (ie how long it was pressed) and action1 and 2 are normal actions to be done in each case. but really you just want to use something like illume for embeded - it's configured to need no right mouse. this is still overall something we need to handle well (not requiring more than 1 button) but its partly done. illume was intended for vertical (portrait) screens tho - so on a landsacape widescreen n800 it looks kind of odd. > Anyway, I looked at the code of some modules and decided to implement one > that will trigger a right click on long press. > > > > I took the Calender module as a base and refitted it: > http://e-simba.googlecode.com/svn/trunk/ > > > > At first I thought it will require implementation of 2 callback functions, > one for mouse up and one for mouse down for use with > > > ecore_event_handler_add. Then in my early tests I got the notion that it will > probably only affect ecore based applications. > > Can you please suggest a design for me to achieve my goal? use delayed_action :) > ?Assaf Paz > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel