mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-03-21 17:55:00 -05:00
Improve Raspberry Pi Kiosk with multi-CC examples (and configuration parameter related to it)
Some checks failed
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linux32 flags:32 name:Linux GCC 32 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linux64 flags:64 name:Linux GCC x64 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linuxarm32 flags:arm32 name:Linux GCC ARM 32 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linuxarm64 flags:arm64 name:Linux GCC ARM 64 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:macos name:macOS Apple Silicon os:macos-14]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:win32 flags:-A Win32 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 Win32 os:windows-2022]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:win64 flags:-A x64 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 x64 os:windows-2022]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:winarm64 flags:-A ARM64 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 ARM os:windows-2022]) (push) Has been cancelled
CD / Create Pi Mono Setup (push) Has been cancelled
CD / Publishing (push) Has been cancelled
Some checks failed
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linux32 flags:32 name:Linux GCC 32 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linux64 flags:64 name:Linux GCC x64 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linuxarm32 flags:arm32 name:Linux GCC ARM 32 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:linuxarm64 flags:arm64 name:Linux GCC ARM 64 os:ubuntu-latest]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:macos name:macOS Apple Silicon os:macos-14]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:win32 flags:-A Win32 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 Win32 os:windows-2022]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:win64 flags:-A x64 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 x64 os:windows-2022]) (push) Has been cancelled
CD / ${{ matrix.platform.name }} ${{ matrix.config.name }} (map[flags:-DBUILD_SHARED_LIBS=FALSE name:Static], map[artifact_name:winarm64 flags:-A ARM64 -DCMAKE_PARALLEL_MSVC=TRUE name:Windows VS2022 ARM os:windows-2022]) (push) Has been cancelled
CD / Create Pi Mono Setup (push) Has been cancelled
CD / Publishing (push) Has been cancelled
This commit is contained in:
parent
33c85c04e0
commit
2a986eb1a2
|
|
@ -55,5 +55,10 @@ hdmi_enable_4kp60=1
|
|||
# (e.g. for USB device mode) or if USB support is not required.
|
||||
otg_mode=1
|
||||
|
||||
[pi5]
|
||||
# Enables using more power for USB connections.
|
||||
# Allows more CCs to be connected at the same time.
|
||||
usb_max_current_enable=1
|
||||
|
||||
[all]
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
# Example script for 4 3DSs connected at the same time
|
||||
# Both screens, placed in an horizontal grid
|
||||
# Scaled 1x
|
||||
|
||||
# Needed for Optimize 3DS CCs to reconnect
|
||||
SLEEP_TIME=10
|
||||
|
||||
# Set to 1 to enable configuration mode with only one window active.
|
||||
# Set to 0 to enable all windows.
|
||||
INITIAL_CONFIGURATION_MODE=0
|
||||
|
||||
${PREMADE_DIR}/${PROGRAM_NAME}_prepare_script.sh
|
||||
|
||||
if [ "$INITIAL_CONFIGURATION_MODE" -eq "1" ]; then
|
||||
|
||||
# Rightmost
|
||||
${MAIN_KIOSK_PROGRAM} --enabled_both 1 --pos_x_both 1200 --pos_y_both 0 --profile 5 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
# Middle-Right
|
||||
${MAIN_KIOSK_PROGRAM} --enabled_both 1 --pos_x_both 800 --pos_y_both 0 --profile 5 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
# Middle-Left
|
||||
${MAIN_KIOSK_PROGRAM} --enabled_both 1 --pos_x_both 400 --pos_y_both 0 --profile 5 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
fi
|
||||
|
||||
# Leftmost
|
||||
${MAIN_KIOSK_PROGRAM} --enabled_both 1 --pos_x_both 0 --pos_y_both 0 --profile 5 --auto_connect
|
||||
|
||||
${PREMADE_DIR}/${PROGRAM_NAME}_post_script.sh $?
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/sh
|
||||
# Example script for 4 DSs connected at the same time
|
||||
# Top screens, placed in a 4x4 grid, with space on all sides
|
||||
# For 1920x1080
|
||||
# Scaled 2x each
|
||||
|
||||
# Needed for Optimize 3DS CCs to reconnect
|
||||
SLEEP_TIME=10
|
||||
|
||||
# Set to 1 to enable configuration mode with only one window active.
|
||||
# Set to 0 to enable all windows.
|
||||
INITIAL_CONFIGURATION_MODE=0
|
||||
|
||||
${PREMADE_DIR}/${PROGRAM_NAME}_prepare_script.sh
|
||||
|
||||
if [ "$INITIAL_CONFIGURATION_MODE" -eq "1" ]; then
|
||||
|
||||
# Bottom Right
|
||||
${MAIN_KIOSK_PROGRAM} --enable_both 0 --enabled_top 1 --pos_x_top 1184 --pos_y_top 618 --scaling_top 2 --profile 6 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
# Bottom Left
|
||||
${MAIN_KIOSK_PROGRAM} --enable_both 0 --enabled_top 1 --pos_x_top 224 --pos_y_top 618 --scaling_top 2 --profile 6 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
# Top Right
|
||||
${MAIN_KIOSK_PROGRAM} --enable_both 0 --enabled_top 1 --pos_x_top 1184 --pos_y_top 78 --scaling_top 2 --profile 6 --auto_connect &
|
||||
sleep ${SLEEP_TIME}
|
||||
|
||||
fi
|
||||
|
||||
# Top Left
|
||||
${MAIN_KIOSK_PROGRAM} --enable_both 0 --enabled_top 1 --pos_x_top 224 --pos_y_top 78 --scaling_top 2 --profile 6 --auto_connect
|
||||
|
||||
${PREMADE_DIR}/${PROGRAM_NAME}_post_script.sh $?
|
||||
Loading…
Reference in New Issue
Block a user