diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
| commit | 30f41c02aec763d32e62351452da9ef582bc3472 (patch) | |
| tree | 6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh | |
| parent | 452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff) | |
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh')
| -rwxr-xr-x | contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh b/contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh deleted file mode 100755 index 7f6f742..0000000 --- a/contrib/SDL-3.2.8/src/joystick/check_8bitdo.sh +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | # | ||
| 3 | # Check to make sure 8BitDo controller configurations are correct | ||
| 4 | |||
| 5 | echo "Expected output:" | ||
| 6 | cat <<__EOF__ | ||
| 7 | "050000003512000020ab000000780f00,8BitDo SNES30 Gamepad,a:b20,b:b21,back:b30,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b26,rightshoulder:b27,start:b31,x:b23,y:b24,hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,", | ||
| 8 | "050000003512000020ab000000780f00,8BitDo SNES30 Gamepad,a:b21,b:b20,back:b30,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b26,rightshoulder:b27,start:b31,x:b24,y:b23,hint:!SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,", | ||
| 9 | |||
| 10 | __EOF__ | ||
| 11 | |||
| 12 | echo "Actual output:" | ||
| 13 | ${FGREP:-grep -F} 8BitDo SDL_gamepad_db.h | ${FGREP:-grep -F} -v hint | ||
| 14 | ${EGREP:-grep -E} "hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1" SDL_gamepad_db.h | ${FGREP:-grep -F} -i 8bit | ${FGREP:-grep -F} -v x:b2,y:b3 | ${FGREP:-grep -F} -v x:b3,y:b4 | ||
| 15 | ${EGREP:-grep -E} "hint:.SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1" SDL_gamepad_db.h | ${FGREP:-grep -F} -i 8bit | ${FGREP:-grep -F} -v x:b3,y:b2 | ${FGREP:-grep -F} -v x:b4,y:b3 | ||
