diff --git a/src/index.css b/src/index.css index c6eef53..9a82237 100644 --- a/src/index.css +++ b/src/index.css @@ -38,4 +38,16 @@ button, .button { background: black; color: white; +} + +select { + background: black; + color: white; + padding: 0.25em 0.5em; + border-radius: 0.25em; + border: 1px solid white; + + &:disabled { + opacity: 0.7; + } } \ No newline at end of file diff --git a/src/routes/camera/+page.svelte b/src/routes/camera/+page.svelte index 346f865..1b6c9c7 100644 --- a/src/routes/camera/+page.svelte +++ b/src/routes/camera/+page.svelte @@ -83,9 +83,11 @@
diff --git a/src/routes/gamepad/+page.svelte b/src/routes/gamepad/+page.svelte index e69de29..67d73ed 100644 --- a/src/routes/gamepad/+page.svelte +++ b/src/routes/gamepad/+page.svelte @@ -0,0 +1,163 @@ + + +

Gamepad & Joystick Tests

+
+ + +
+ +{#if currentGamepad} +
+

Buttons

+ +
+
+

Axes

+
+ {#each axes as axis, i (i)} +
+
+ {i} + + {axis.toFixed(2)} +
+
+ {/each} +
+
+{/if} + +