summaryrefslogtreecommitdiff
path: root/bin/hackvr
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-04-12 23:50:54 -0500
committerepoch <epoch@thebackupbox.net>2020-04-12 23:50:54 -0500
commit9bd65a27745012087eb4546d77ef4964663a96a2 (patch)
treecd75158b973924794226c497a504acb2542c626e /bin/hackvr
parentd9d998644defec48172fde353f0a339933800cce (diff)
downloadhackvr-9bd65a27745012087eb4546d77ef4964663a96a2.tar.gz
hackvr-9bd65a27745012087eb4546d77ef4964663a96a2.zip
added a new idea of using X11 video and /dev/input/event for input. moved hackvr script to bin like it should be. changed makefile stuff to have more consistent ordering of stuff.
Diffstat (limited to 'bin/hackvr')
-rwxr-xr-xbin/hackvr9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/hackvr b/bin/hackvr
new file mode 100755
index 0000000..1c9d16c
--- /dev/null
+++ b/bin/hackvr
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then
+ exec $HACKVR $*
+fi
+if [ $DISPLAY ]; then
+ exec hackvr_x11 $*
+else
+ exec hackvr_fb $*
+fi