Use pkgconfig variable 'nyx_module_dir' for installing modules

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: Idb057f3dfcb0ae8c6aa1e8eaf4ce9e37c33e0096
Reviewed-on: http://g2g.palm.com/679
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Use pkgconfig variables 'nyx_module_prefix' and 'nyx_module_suffix'

They are used when forming the filenames of the modules.

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: I82269f42f825049bbcfff2b7c2bc5a4fc18b92c9
Reviewed-on: http://g2g.palm.com/721
Tested-by: Sapna Todwal <sapna.todwal@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
keys: split out common key handling code from emulator module

It makes no sense to have the same code in more than one module so we're splitting out the
common input device handling code and just put the specific key handling into module
specific code section.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
led_controller: initial code for a common led controller module

The current implementation only provides support for setting the backlight brightness and
disabling/enabling the backlight when needed. Further effect implementation is missing.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
touchpanel: rename emulator implementation to evdev

The current emulator implementation is using the evdev input protocol which is appropiate
for other devices as well so we make it unrelated to the emulator here. Differences
between different target machines (and emulator) should be implemented as config options.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
touchpanel: evdev: read screen size from framebuffer when possible

* read screen size when not defined by machine config from framebuffer
* define static screen size for qemuarm and qemux86 machines

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
touchpanel: build evdev implementation for WEBOS_TARGET_MACHINE_IMPL device

The evdev implementation should be suitable for most devices until we have a real multi
touch implementation for the MT protocol.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
system: use a flat directory structure to have same code for all machines

If there need to be specific implementations for different machines then this should be
separated from the main module code which should mostly be the same for all needed
implementations.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
battery: split out common file handling methods into separate source file

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
battery: add a common linux battery module implement (using power_supply kernel interface)

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
keys: add tuna specific implementation

On the tuna device some keys are handled differently (e.g. no KEY_HOME but KEY_POWER) so we
have to adjust this in the keys module.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
machine: add support for the tuna machine

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>