diff --git a/src/components/common/ConfigSection.vue b/src/components/common/ConfigSection.vue
index 28066c1..3759c3a 100644
--- a/src/components/common/ConfigSection.vue
+++ b/src/components/common/ConfigSection.vue
@@ -6,7 +6,7 @@
:class="{'cursor-pointer hover:bg-zinc-800': showToggle}"
@click="toggle = !toggle">
-
{{ title }}
+ {{ title }}
diff --git a/src/components/config/keys/KeyMappingConfig.vue b/src/components/config/keys/KeyMappingConfig.vue
index 9b461ec..dc5c113 100644
--- a/src/components/config/keys/KeyMappingConfig.vue
+++ b/src/components/config/keys/KeyMappingConfig.vue
@@ -1,5 +1,6 @@
+ ({{ store.selectedKey}})
Action:
@@ -10,22 +11,26 @@
role="combobox"
:aria-expanded="open"
class="my-2 w-full justify-between">
- {{ value ? actionOptions[value] : 'Select an action...' }}
+
-
- No framework found.
+
+
+
+
{
- value = event.detail.value
+ :value="action"
+ @select="() => {
+ value = key
open = false
}">
{{ action }}
@@ -50,17 +55,21 @@ import { Button } from '@/components/ui/button'
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '@/components/ui/command'
import { ref } from 'vue'
import { cn } from '@/lib/utils'
+import ScrambleText from '@/components/common/ScrambleText.vue'
+import { useStore } from '@/store'
+
+const store = useStore()
const actionOptions = ref({
- sendKey: 'Trigger a Key Press or Combination',
+ sendKey: 'Press Key or Combination',
sendString: 'Type a String',
- sendMouse: 'Move, scroll or click the Mouse',
+ sendMouse: 'Move, Scroll or Click',
sendGamepad: 'Send a Gamepad Input',
sendMidi: 'Send a MIDI Message',
sendOsc: 'Send an OSC Message',
sendSerial: 'Send a Serial Message',
controlMedia: 'Control Media Playback',
- controlSystem: 'Control your Operating System',
+ controlSystem: 'Control your OS',
runProgram: 'Start a Program',
})
diff --git a/src/components/config/knob/KnobMappingConfig.vue b/src/components/config/knob/KnobMappingConfig.vue
index 30dc6fc..4d0efc9 100644
--- a/src/components/config/knob/KnobMappingConfig.vue
+++ b/src/components/config/knob/KnobMappingConfig.vue
@@ -1,10 +1,72 @@
+
+
Control:
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ value = key
+ open = false
+ }">
+ {{ action }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/navbar/Navbar.vue b/src/components/navbar/Navbar.vue
index 1149dab..925e151 100644
--- a/src/components/navbar/Navbar.vue
+++ b/src/components/navbar/Navbar.vue
@@ -27,7 +27,7 @@
- Devices (2)
+ Devices (2)
Device