commit | 374fd17acc224846ccb9d7ecdd10be10a11b95c1 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sat Oct 25 17:57:54 2014 -0700 |
committer | Austin Schuh <austin@peloton-tech.com> | Sat Oct 25 22:25:08 2014 -0700 |
tree | 6e08cda319f580d3c1460e67a631a0eb9cbfd80c | |
parent | 25c6d7c310574c4cfd23773a0fa9c996bba288c4 [diff] [blame] |
Split joystick_reader into hardware shim + application. Change-Id: If31e6dd7ece547a2952ec21e2f4bc745ee6f9d84
diff --git a/frc971/input/joystick_proxy.cc b/frc971/input/joystick_proxy.cc new file mode 100644 index 0000000..fe23f4a --- /dev/null +++ b/frc971/input/joystick_proxy.cc
@@ -0,0 +1,9 @@ +#include "aos/linux_code/init.h" +#include "aos/prime/input/joystick_input.h" + +int main() { + ::aos::Init(); + ::aos::input::JoystickProxy proxy; + proxy.Run(); + ::aos::Cleanup(); +}