darwin support
use uname
Merge pull request #2 from tdz/master

Orangutan kernel module [v1]
Merge git://github.com/malini/orangutan

Conflicts:
	Makefile.in
Use UNAME instead of ORENV for configure variable

Slightly more precise
Use labels instead of magic numbers for input event names
First pass at support for pinch zoom
Oops, forgot to add important inputdefs.h file
Add touch events to be what is expected for the atmel touch screen

It looks like we need touch major, touch minor, and a few other things
for this platform to work as expected.
Make sending MT_SYN events in ICS conditional on device type

With the atmel touchscreen device, we want them. With the samsung gn
touch screen device, we don't. Also, use proper identifiers instead
of magic numbers for the synchronization events and event types.
Added kernel support for PandaBoard

The input-device specifications for the PandaBoard have been added to the kernel
module. It can now emulate the panda's GPIO button and headset jack.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Added Android.mk

The Android makefile allows for automatically building and installing
orangutan in B2G. The command 'su' has not been included, because a
command of the same name already exists in B2G.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Replaced the generic touch screen by a 720p touchscreen

The generic touch screen in its current form was pretty much useless. This patch
replaces its definition by a 720p-compatible touch screen. This will be useful
for simulating on compatible outputs, such as the PandaBoard's display.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Introduce canonical input-device names

The canonical names consist of the phone and device name separated by
dash. No capital letters are allowed and spaces are replaced by an
underscore.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Support searching devices by their canonical name

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Support selecting emulated device by canonical name

The new module parameter 'devices' allows for specifying a list of
canonical device names, separated by comma. The device names take
precedence over names or ids.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Fixes to mkdevinfo

This patch fixes several invalid format strings in mkdevinfo.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Generate canonical device names in mkdevinfo

The tool mkdevinfo now generates canonical input-device names. It receives a new
command-line parameter that sets the phone device's name.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Fix bit test when reading absolute axis from device

The bit test for a device's absolute axis didn't always test the correct bits. This
led to unread axis and incorrect emulation.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Fix invalid comma in mkdevinfo output when the first axis is not 0

An invalid comma was added before the first absolute axis if that axis is
not zero. This has been corrected to only print commas after the first
axis.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>