diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-12 23:50:54 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-12 23:50:54 -0500 |
commit | 9bd65a27745012087eb4546d77ef4964663a96a2 (patch) | |
tree | cd75158b973924794226c497a504acb2542c626e /bin/hackvr | |
parent | d9d998644defec48172fde353f0a339933800cce (diff) | |
download | hackvr-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-x | bin/hackvr | 9 |
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 |