Skip to content

Commit

Permalink
Added packaging resources for bittboy (#123)
Browse files Browse the repository at this point in the history
Co-authored-by: djdiskmachine <[email protected]>
  • Loading branch information
djdiskmachine and djdiskmachine authored Sep 10, 2024
1 parent afd7b9a commit 4fbc159
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions projects/resources/BITTBOY/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
Bittboy config
Re-assigned layout since no shoulder buttons
-->
<CONFIG>
<!--
<ROOTFOLDER value="/mnt/SDCARD/Tracks"/>
<SAMPLELIB value="/mnt/SDCARD/Samples"/>
-->
<!-- uncomment to dump events to stdout
<DUMPEVENT value="YES"/>
-->
<KEY_A value="left shift" /><!--T2-->
<KEY_B value="left alt" /><!--A-->
<KEY_LSHOULDER value="escape" /><!--select-->
<KEY_START value="space" /><!--T1-->
<KEY_RSHOULDER value="return" /><!--start-->

<!-- uncomment to render -->
<!--
<RENDER value="FILE"/>
-->

</CONFIG>
3 changes: 3 additions & 0 deletions projects/resources/BITTBOY/lgpt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

LD_PRELOAD=./librtmidi.so ./lgpt-bittboy.elf > lgpt.log
3 changes: 2 additions & 1 deletion projects/resources/packaging/lgpt_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ collect_resources() { #1PLATFORM #2lgpt.*-exe
if [ "$1" == "PSP" ] ||
[ "$1" == "GARLIC" ] ||
[ "$1" == "RG35XXPLUS" ] ||
[ "$1" == "MACOS" ]; then # All files go in the root folder
[ "$1" == "MACOS" ] ||
[ "$1" == "BITTBOY" ]; then # All files go in the root folder
zip -9 $PACKAGE -j $CONTENTS
else # all the others go in the bin
mkdir bin ; cp $CONTENTS bin
Expand Down

0 comments on commit 4fbc159

Please sign in to comment.