Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo wminput -r -w -c "$controls_config" > "$temp_output" &
- exec 3< "$temp_output"
- while true; do
- sleep 1
- read <&3 output
- if [[ "$output" = 'Ready' ]]; then
- echo "Controller $wiimote_counter Connected"
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement