Commit Graph

20 Commits

Author SHA1 Message Date
Marcel Hollerbach 124113ad64 e_acpi: add support for bluetooth remote controls
bluetooth remote controls are for example bt headsets with play / pause
/ next / prev interactions.
2020-09-02 15:39:01 +02:00
Chris Michael 8039ecb9b7 make e_acpi_lid_is_closed function callable from wl_drm module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:44:22 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 98068e9b9c add e_acpi_lid_is_closed() for returning cached state of computer lid 2015-04-22 15:50:05 -04:00
Sebastian Dransfeld ed520d31a1 e_acpi: Add function to get lid status
So we can know lid status without waiting for a lid event.
2014-01-15 07:06:13 +01:00
Carsten Haitzler c7694a9e6a add simple tablet acpi button event. 2013-09-09 11:29:14 +09:00
Carsten Haitzler c65e2cb4c7 add reported acpi events for several button/... events not handled yet 2013-06-16 10:39:20 +09:00
Carsten Haitzler 4d68c30127 add support for acpi events like:
video/tabletmode TBLT on K
video/tabletmode TBLT off K
2013-06-16 10:31:11 +09:00
Carsten Haitzler b5b0756e79 add more acpi button support 2013-05-27 23:25:54 +09:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 8f29eac9c3 make some notes in header for when iw as fixing up default bindings
SVN revision: 59983
2011-06-06 03:11:34 +00:00
Carsten Haitzler 79742c3762 and extend acpi support some more - allow bus matching too. start
listing specific device models tested etc. and their  specific tables



SVN revision: 56829
2011-02-09 01:17:14 +00:00
Carsten Haitzler f8da083328 a bit of a refactor of e_acpi -> can buffer and handle more than 1
acpi message at once (will happen IF e is paused/hung/suspended and
multiple acpi events happen during that time).

also no need for multiple acpi event id's - the type is already in the
struct itself. it's dup;icating the work. simplify.

also... vaio "hotkey" style support. new mapping ethod needed for
that. who knows what other bizarre acpi hardware is out there. may
need more. also make a note that we may want a mapping system some
time that maps acpi event to faking an x key event.

also... allow acpi bindings to bind to anything in gui.



SVN revision: 56790
2011-02-07 22:57:50 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Christopher Michael 97d4239b35 Add a way to freeze incoming acpi events.
NB: To be used in the acpi bindings config dialog. This allows us to freeze 
all existing events so that if the user presses the power button 
(or something else) when adding a new binding, their machine does not
power off.



SVN revision: 49416
2010-06-03 16:57:09 +00:00
Christopher Michael 24188afa26 Add enums for acpi signals, and enums for lid status.
Add function to return current lid status.



SVN revision: 48948
2010-05-17 22:46:28 +00:00
Christopher Michael d823aba015 Add a TODO list.
Create a device hash to match standard device names to types.
Cleanup E_EVENT_ACPI (add missing ones, remove not needed ones).
Actually parse out the ACPI data which we receive.

You can now actually use this ACPI code for event listening, but the
Status field of the event structure needs sanatizing yet (turn into
something meaningful).



SVN revision: 48928
2010-05-17 00:03:55 +00:00
Christopher Michael 7ec3688471 Add some more acpi event types that we will handle.
SVN revision: 48916
2010-05-16 16:10:36 +00:00
Christopher Michael e828519e97 Change acpi event structure to be able to pass more info.
SVN revision: 48912
2010-05-16 06:21:48 +00:00
Christopher Michael 903caca63b Add start of ACPI code. Does not actually parse yet tho.
Add e_acpi_init to startup (it safely returns if acpid is not running).
Fix some formatting in e_main.



SVN revision: 48910
2010-05-16 05:26:29 +00:00