[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-users
Subject:    Re: [e-users] Elementary program / generating keyboard input events
From:       Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date:       2016-07-08 10:24:12
Message-ID: 20160708192412.1b5239399ea15a5805fac035 () rasterman ! com
[Download RAW message or body]

On Fri, 8 Jul 2016 00:41:26 -0400 (EDT) Markus Svilans <msvilans@aeonyx.ca>
said:

> ----- Original Message -----
> > From: "Carsten Haitzler" <raster@rasterman.com>
> > To: "enlightenment-users" <enlightenment-users@lists.sourceforge.net>
> > Cc: "msvilans" <msvilans@aeonyx.ca>
> > Sent: Thursday, July 7, 2016 10:47:35 PM
> > Subject: Re: [e-users] Elementary program / generating keyboard input events
> 
> > On Sun, 3 Jul 2016 14:35:45 -0400 (EDT) Markus Svilans <msvilans@aeonyx.ca>
> > said:
> > 
> >> Dear Enlightenment Users,
> >> 
> >> Is it possible to manually generate keyboard input events?
> > 
> > yes. though not recommended. evas_event_*feed api's. :) you just need to be
> > careful.
> 
> 
> Thank you for the tip. I managed to get something working.
> 
> There seems to be another way to do it as well using ecore_event_add()... any
> reason to prefer one over the other?

you can do this too. remember to provide the free func too... AND you now need
to mimic the original event. :)

> >> In my case, keyboard events are received via a pipe from an external
> >> application. The standard Linux input events are not available. Instead I
> >> would like to take the keyboard events and feed them into the Elementary
> >> event loop somehow.
> >> 
> >> I am new to Elementary and Enlightenment. Any guidance would be much
> >> appreciated.
> > 
> > as above. :) nb - irc likely has faster response times. :)
> 
> 
> Got it, I will try that out.
> 
> Thank you,
> Markus
> 
> 
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic