blob: 4e1c94d12600de0ce55c67d217a2ac04d8e42029 [file] [log] [blame]
Andrew Dugganc562f282014-04-03 16:44:13 -07001Build on Linux:
2$ make
3
4Build for Android:
5This tool depends on HIDRAW being compiled into the Android device's kernel. This may not be enabled by default. When developing on platforms you may need to rebuild the kernel to enable it.
6
7Then:
8Install the latest verison of the Android NDK.
9Copy from the kernel source include/linux/hid.h and include/linux/hidraw.h to $(ANDROID_NDK)/platforms/android-19/arch-arm/usr/include/linux/
10Then run:
Andrew Duggancaf09de2014-04-04 10:23:25 -070011$ make android