~mil/f_scripts

d25b19132e802a3e12ac9a1a10950a11829252ed — Miles Alan 6 months ago 275669b
f_maps: Add missing directfb dep and force dfb via SDL_VIDEODRIVER
1 files changed, 2 insertions(+), 1 deletions(-)

M scripts/f_maps
M scripts/f_maps => scripts/f_maps +2 -1
@@ 1,6 1,6 @@
#!/usr/bin/env osh
shopt -s strict:all
DEP="mepo tslib kbd vis-menu"
DEP="mepo tslib directfb kbd vis-menu"
DEC="Browse OSM maps using mepo (via SDL directfb)."
DOC="
  Launches mepo to browse OSM maps in SDL / directfb mode.  Uses chvt


@@ 8,6 8,7 @@ DOC="
"

runmepo() {
  export SDL_VIDEODRIVER=directfb
  export DFBARGS="system=fbdev,no-cursor,disable-module=linux_input,no-vt-switch"
  INPUTDEV="$(ts_uinput -d -v)"
  export TSLIB_TSDEVICE="$INPUTDEV"