joystick12: Added 2 axis analog joystick12 C sensor

Added the C source for the joystick12 with necessary changes to cmake,
examples, and docs.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-09-09 16:17:48 -07:00
parent b781405a95
commit bec533d8bd
6 changed files with 595 additions and 5 deletions

View File

@ -1,5 +1,8 @@
set (libname "joystick12")
set (libdescription "ElecFreaks Joystick 1.2")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init()
upm_mixed_module_init (NAME joystick12
DESCRIPTION "ElecFreaks Joystick 1.2"
C_HDR joystick12.h
C_SRC joystick12.c
CPP_HDR joystick12.hpp
CPP_SRC joystick12.cxx
FTI_SRC joystick12_fti.c
REQUIRES mraa)