IO is an event based input manager which permit to select which composents are manged on your system

Dependencies:   C12832 FXOS8700Q LM75B MMA7660

Committer:
co838_app56
Date:
Thu Feb 25 15:12:32 2016 +0000
Revision:
4:50e2aefe516b
Parent:
3:1ab88130bb9d
Fixing precision issue;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
co838_app56 0:2ac59c564ab0 1 #include "Event.h"
co838_app56 0:2ac59c564ab0 2
co838_app56 0:2ac59c564ab0 3 Event::Event(Device dvc, Type tp, int ID, ButtonState val) : device(dvc), type(tp), id(ID), binary(val), analog(0.0f) {}
co838_app56 0:2ac59c564ab0 4 Event::Event(Device dvc, Type tp, int ID, float val) : device(dvc), type(tp), id(ID), binary(Event::Rise), analog(val) {}
co838_app56 3:1ab88130bb9d 5 Event::Event(Device dvc, Type tp, int ID, const Vector &val) : device(dvc), type(tp), id(ID), binary(Event::Rise), analog(0.0f), vector(val) {}
co838_app56 0:2ac59c564ab0 6 Event::Event(const Event &copy) : device(copy.device), type(copy.type), id(copy.id), binary(copy.binary), analog(copy.analog), vector(copy.vector) {}