aboutsummaryrefslogtreecommitdiffstats
path: root/android/hw-events.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compilation error with new x86_64-w64-mingw32 compilerAndrew Hsieh2012-05-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | Fixed the following for the new compiler 1. android/camera/camera-capture-windows.c: Added "#include <windows.h>" 2. SetClassLong() is deprecated. GCL_HICON doesn't exist in _WIN64. Replacted it with SetClassLongPtr(h, GCLP_HICON, icon) 3. [v]asprintf now actually exisit in libray. Changed the prototype to match the standard ones but will remove them later for GCC 4.5 and up. 4. Renamed _set_errno to set_errno because it exists in stdlib.h. Renamed _fix_errno to fix_errno for consistency. 5. EAI_NODATA and EAI_NONAME become the same things. 6. ddk/*h don't exisit. tap-win32.c actually only needs winioctl.h which provide constants. I have make sure they got the same constants in both old and new mingw compilers 7. #undef DELETE before redefining it for KEY_CODE in hw-events.h because DELETE is defined to be a constant in standard header. The above don't break the old one (ie. /usr/bin/i586-mingw32msvc-*) Change-Id: Ic7d13fd0fd237d433f923ee01c6ce50f5c02f095
* Add KEY_XXX values to console "event send EV_KEY:<name>:<value>"David 'Digit' Turner2009-07-301-0/+351
| | | | | | This also modifies hw-events.c because EV_KEY has both BTN_XXX and KEY_YYY labels that must be accounted for in the list.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+184
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-184/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+184