mirror of
https://github.com/rommapp/grout.git
synced 2026-04-23 06:54:36 +00:00
Remap SDL keycode 9 (L2) to virtual button Menu on Allium and Onion since L2 is unused and there is no dedicated Menu button on Miyoo. Add IS_MIYOO env var to launch scripts and show "L2" instead of "Menu" in the BIOS footer label on Miyoo devices.
15 lines
314 B
Bash
15 lines
314 B
Bash
#!/bin/sh
|
|
CUR_DIR="$(dirname "$0")"
|
|
cd "$CUR_DIR"/grout || exit 1
|
|
|
|
export CFW=ALLIUM
|
|
export IS_MIYOO=1
|
|
export LD_LIBRARY_PATH=/mnt/SDCARD/Apps/Grout.pak/grout/lib:$LD_LIBRARY_PATH
|
|
|
|
export SDL_VIDEODRIVER=mmiyoo
|
|
export SDL_AUDIODRIVER=mmiyoo
|
|
export EGL_VIDEODRIVER=mmiyoo
|
|
export SDL_MMIYOO_DOUBLE_BUFFER=1
|
|
|
|
./grout
|