ADD: KeyFeedbackConfig

Remove feedback type
This commit is contained in:
Robert Kossessa
2024-04-17 14:38:21 +02:00
parent 934595a0bc
commit fe79891b5e
3 changed files with 5 additions and 32 deletions

View File

@@ -6,6 +6,7 @@ import KeyLightConfig from '@renderer/components/config/keys/KeyLightConfig.vue'
import KnobMappingConfig from '@renderer/components/config/knob/KnobMappingConfig.vue'
import KeyMappingConfig from '@renderer/components/config/keys/KeyMappingConfig.vue'
import { shallowRef } from 'vue'
import KeyFeedbackConfig from './components/config/keys/KeyFeedbackConfig.vue'
export const useAppStore = defineStore('app', {
state: () => {
@@ -33,6 +34,10 @@ export const useAppStore = defineStore('app', {
titleKey: 'config_options.mapping_configuration.title',
component: shallowRef(KeyMappingConfig)
},
feedback: {
titleKey: 'config_options.feedback_designer.title',
component: shallowRef(KeyFeedbackConfig)
},
lighting: {
titleKey: 'config_options.light_designer.title',
component: shallowRef(KeyLightConfig)

View File

@@ -1,30 +1,4 @@
<template>
<ConfigSection
:title="$t('config_options.feedback_designer.feedback_type.title')"
:icon-component="GaugeCircle"
>
<TabSelect v-model="feedbackType" :options="feedbackTypeOptions" />
</ConfigSection>
<ConfigSection
:title="$t('config_options.feedback_designer.haptic_response.title')"
:icon-component="AudioWaveform"
:show-toggle="true"
>
<SteppedSlider
v-model="feedbackStrength"
:label="$t('config_options.feedback_designer.haptic_response.feedback_strength')"
/>
<Separator />
<SteppedSlider
v-model="bounceBackStrength"
:label="$t('config_options.feedback_designer.haptic_response.bounce_back_strength')"
/>
<Separator />
<SteppedSlider
v-model="outputRampDampening"
:label="$t('config_options.feedback_designer.haptic_response.output_ramp_dampening')"
/>
</ConfigSection>
<ConfigSection
:title="$t('config_options.feedback_designer.auditory_response.title')"
:icon-component="AudioLines"

View File

@@ -1,10 +1,4 @@
<template>
<ConfigSection
:title="$t('config_options.feedback_designer.feedback_type.title')"
:icon-component="GaugeCircle"
>
<TabSelect v-model="feedbackType" :options="feedbackTypeOptions" />
</ConfigSection>
<ConfigSection
:title="$t('config_options.feedback_designer.haptic_response.title')"
:icon-component="AudioWaveform"