Merge branch 'main' into builder
This commit is contained in:
commit
e54595e630
|
@ -16,6 +16,11 @@ for path in "$@"; do
|
|||
fn=$(basename "$path")
|
||||
echo "=== Upload $VERSION/$fn"
|
||||
|
||||
curl \
|
||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||
--request DELETE \
|
||||
$BASE/$fn
|
||||
|
||||
curl \
|
||||
--fail \
|
||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||
|
|
|
@ -151,15 +151,6 @@ void loop() {
|
|||
buttonState.velocity[1] = bitRead(buttonState.buttons, 2)?127:0; // R
|
||||
buttonState.velocity[2] = bitRead(buttonState.buttons, 1)?127:0; // G
|
||||
buttonState.velocity[3] = bitRead(buttonState.buttons, 0)?127:0; // B
|
||||
|
||||
// Use the cymbals for up and down, since I don't have a D-pad
|
||||
if bitRead(buttons, 13) {
|
||||
buttonState.hatAndConstant = 0; // up
|
||||
} else if bitRead(buttons, 10) {
|
||||
buttonState.hatAndConstant = 4; // down
|
||||
} else {
|
||||
buttonState.hatAndConstant = 8; // nothing
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DPAD
|
||||
|
|
Loading…
Reference in New Issue