Input Device
{#if deviceMode.slice(0, 8) === "tasoller" || deviceMode.slice(0, 7) === "yuancon" || deviceMode.slice(0, 8) === "yubideck" || (deviceMode.slice(0, 10) === "brokenithm" && deviceMode !== "brokenithm-nostalgia")}
{/if}
{#if deviceMode.slice(0, 10) === "brokenithm"}
{/if}
{#if deviceMode === "diva"}
Slider Serial Port
{/if}
Output Mode
{#if deviceMode === "brokenithm-nostalgia" && outputMode !== "none" && outputMode.slice(0, 5) !== "kb-32"}
{:else if deviceMode.slice(0, 10) === "brokenithm" && ["kb-voltex", "kb-neardayo", "gamepad-voltex", "gamepad-neardayo", "gamepad-hori"].includes(outputMode)}
{/if}
{#if outputMode.slice(0, 7) === "gamepad"}
{/if}
{#if outputMode !== "none"}
Output Polling
{/if}
{#if (outputMode.slice(0, 2) === "kb" || outputMode.slice(0, 7) === "gamepad") && deviceMode.slice(0, 10) !== "brokenithm"}
{/if}
{#if outputMode === "websocket"}
{/if}
LED Mode
{#if ledMode !== "none"}
{/if}
{#if ledMode.slice(0, 8) === "reactive" && ["16", "8", "6", "4"].includes(ledMode.slice(9))}
{/if}
{#if ledMode.slice(0, 8) === "reactive" && deviceMode.slice(0, 10) !== "brokenithm"}
{/if}
{#if ledMode === "websocket"}
{/if}
{#if ledMode === "umgr-websocket"}
{/if}
{#if ledMode === "serial"}
Serial LED may require com0com
LED Serial Port
{/if}