mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Add noise control touch configuration for Realme Buds T200
This commit is contained in:
+2
-1
@@ -72,7 +72,8 @@ public class RealmeBudsT200Coordinator extends OppoHeadphonesCoordinator {
|
||||
TouchConfigValue.VOLUME_UP,
|
||||
TouchConfigValue.VOLUME_DOWN,
|
||||
TouchConfigValue.VOICE_ASSISTANT_REALME,
|
||||
TouchConfigValue.GAME_MODE
|
||||
TouchConfigValue.GAME_MODE,
|
||||
TouchConfigValue.NOISE_CONTROL
|
||||
);
|
||||
put(Pair.create(TouchConfigSide.LEFT, TouchConfigType.TAP_2), options);
|
||||
put(Pair.create(TouchConfigSide.LEFT, TouchConfigType.TAP_3), options);
|
||||
|
||||
+1
@@ -25,6 +25,7 @@ public enum TouchConfigValue {
|
||||
VOICE_ASSISTANT_REALME(0x04),
|
||||
PREVIOUS(0x05),
|
||||
NEXT(0x06),
|
||||
NOISE_CONTROL(0x08),
|
||||
GAME_MODE(0x11),
|
||||
VOLUME_UP(0x0B),
|
||||
VOLUME_DOWN(0x0C),
|
||||
|
||||
@@ -4520,6 +4520,7 @@
|
||||
<item>@string/pref_title_touch_voice_assistant</item>
|
||||
<item>@string/pref_title_touch_voice_assistant</item>
|
||||
<item>@string/prefs_game_mode</item>
|
||||
<item>@string/prefs_noise_control</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="oppo_touch_tap_values">
|
||||
@@ -4533,6 +4534,7 @@
|
||||
<item>voice_assistant</item>
|
||||
<item>voice_assistant_realme</item>
|
||||
<item>game_mode</item>
|
||||
<item>noise_control</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="cmf_buds_touch_tap_names">
|
||||
@@ -5786,4 +5788,4 @@
|
||||
<item>audio_card</item>
|
||||
<item>aux</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user