Move some fp16 math utils here.
Prevent crashing from bogus motioninput events (with no device)
Fix for iOS build errors
Merge pull request #103 from jtraynham/master

Fix for iOS build errors
Rename KEYCODE to NKCODE (native key code) to kill name collision. Implement keymapping for Blackberry.
Implement Qt keymapping.
Add restore() for logicop
Add Boolstate and STATE1 for logicop
Merge pull request #105 from raven02/patch-4

Add logicOps support in native
Get device manufacturer + type
Android buildfix
glstate code cleanup
Merge pull request #106 from raven02/patch-5

glstate code cleanup
round_ieee_754 needs to use double to pass all the tests correctly
In 64-bit builds, use Win32 native condition variables.

In 32-bit builds we cant use it as we want to be XP compatible.
Layout changes for popup views
Use semaphores instead of events on win32.

And correctly unlock during the wait, even if there's holes.
Merge pull request #108 from unknownbrackets/semaphore

Use semaphores instead of events on win32
Various UI key navigatation improvements
Add axis for relative mouse