Fix logic oops.

This commit is contained in:
fewtarius 2024-02-27 22:56:03 +00:00
parent b3a4e4b11f
commit abed91b6ff
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -202,6 +202,8 @@ execute_action() {
${FN_B_ACTION_DOWN} ${FN_B_ACTION_DOWN}
;; ;;
esac esac
else
volume ${1}
fi fi
} }
@ -373,10 +375,10 @@ mkcontroller 2>/dev/null ||:
fi fi
;; ;;
(${FUNCTION_VOLUME_UP_EVENT}) (${FUNCTION_VOLUME_UP_EVENT})
volume up execute_action up
;; ;;
(${FUNCTION_VOLUME_DOWN_EVENT}) (${FUNCTION_VOLUME_DOWN_EVENT})
volume down execute_action down
;; ;;
esac esac
done done