···3737# Ignore patches generated by scripts
3838patches/
39394040+# Imgui settings
4041imgui.ini
41424243# files from package building
4344obj-*/
4445.pc/
4646+4747+# Arduino toolchain files
4848+src/xrt/drivers/arduino/device/*.elf
4949+src/xrt/drivers/arduino/device/*.bin
+7-1
CMakeLists.txt
···9292cmake_dependent_option(BUILD_WITH_OPENHMD "Enable OpenHMD driver" ON "OPENHMD_FOUND" OFF)
9393cmake_dependent_option(BUILD_WITH_SDL2 "Enable SDL2 based test application" ON "SDL2_FOUND" OFF)
9494cmake_dependent_option(BUILD_WITH_DAYDREAM "Enable Bluetooth LE via DBUS" ON "BUILD_WITH_DBUS" OFF)
9595+cmake_dependent_option(BUILD_WITH_ARDUINO "Enable Arduino input device with BLE via DBUS" ON "BUILD_WITH_DBUS" OFF)
95969697# These all use the Monado internal hid wrapper which is assumed to be available.
9798option(BUILD_WITH_HDK "Enable HDK driver" ON)
···100101option(BUILD_WITH_NS "Enable North Star driver" ON)
101102102103# You can set this from a superproject to add a driver
103103-list(APPEND AVAILABLE_DRIVERS DUMMY HDK HYDRA NS OHMD PSMV PSVR RS V4L2 VIVE DAYDREAM)
104104+list(APPEND AVAILABLE_DRIVERS ARDUINO DUMMY HDK HYDRA NS OHMD PSMV PSVR RS V4L2 VIVE DAYDREAM)
104105105106###
106107# Flags
···151152152153 # SDL2 based gui
153154 set(BUILD_TARGET_GUI TRUE)
155155+endif()
156156+157157+158158+if(BUILD_WITH_ARDUINO)
159159+ set(BUILD_DRIVER_ARDUINO TRUE)
154160endif()
155161156162if(BUILD_WITH_DUMMY)
+1
doc/changes/drivers/mr.251.md
···11+Added a Arduino based flexible input device driver, along with Arduino C++ code for it.