ADD: KeyFeedbackConfig
Remove feedback type
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user