--- a/src/SpacenavWindow.cpp Thu Mar 07 17:56:38 2019 +0100
+++ b/src/SpacenavWindow.cpp Thu Mar 07 18:33:22 2019 +0100
@@ -65,3 +65,9 @@
if (e.number == 0) widget.button0->setChecked(e.pressed);
if (e.number == 1) widget.button1->setChecked(e.pressed);
}
+
+void SpacenavWindow::spacenavConnectionStatus(SpacenavWrapper::ConnectionStatus s) {
+ if (s == SpacenavWrapper::ConnectionStatus::DOMAIN_SOCKET) widget.connection->setText("connected through: domain socket");
+ if (s == SpacenavWrapper::ConnectionStatus::X11) widget.connection->setText("connected through: X11");
+}
+