Skip to content

Commit

Permalink
Merge branch 'ReChronoRain:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
qdsp6sw authored Jul 3, 2024
2 parents db18a2b + a0cad73 commit 414150f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void handleLoadPackage() {
if (isPad()) {
initHook(IgnoreStylusKeyGesture.INSTANCE, mPrefsMap.getBoolean("mipad_input_ingore_gesture"));
initHook(NoMagicPointer.INSTANCE, mPrefsMap.getBoolean("mipad_input_close_magic"));
initHook(RemoveStylusBluetoothRestriction.INSTANCE, mPrefsMap.getBoolean("mipad_input_disable_bluetooth"));
initHook(RemoveStylusBluetoothRestriction.INSTANCE, mPrefsMap.getBoolean("mipad_input_disable_bluetooth_new"));
initHook(RestoreEsc.INSTANCE, mPrefsMap.getBoolean("mipad_input_restore_esc"));
initHook(SetGestureNeedFingerNum.INSTANCE, mPrefsMap.getBoolean("mipad_input_need_finger_num"));
}
Expand Down
13 changes: 7 additions & 6 deletions app/src/main/res/xml/various_mipad.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
android:key="prefs_key_mipad_input_restore_esc"
android:defaultValue="false" />

<SwitchPreference
android:title="@string/various_mipad_input_disable_bluetooth_title"
android:summary="@string/various_mipad_input_disable_bluetooth_desc"
android:key="prefs_key_mipad_input_disable_bluetooth"
android:defaultValue="true" />

<SwitchPreference
android:title="@string/various_mipad_input_ingore_gesture_title"
android:summary="@string/various_mipad_input_ingore_gesture_desc"
Expand All @@ -33,11 +27,18 @@
android:key="prefs_key_mipad_input_need_finger_num"
android:defaultValue="false" />

<SwitchPreference
android:title="@string/various_mipad_input_disable_bluetooth_title"
android:summary="@string/various_mipad_input_disable_bluetooth_desc"
android:key="prefs_key_mipad_input_disable_bluetooth_new"
android:defaultValue="false" />

<DropDownPreference
android:key="prefs_key_mipad_input_bluetooth_version"
android:title="@string/various_mipad_input_bluetooth_version_title"
android:summary="@string/various_mipad_input_bluetooth_version_desc"
android:defaultValue="2"
android:dependency="prefs_key_mipad_input_disable_bluetooth_new"
app:entries="@array/mipad_input_bluetooth_version"
app:entryValues="@array/mipad_input_bluetooth_version_value" />

Expand Down

0 comments on commit 414150f

Please sign in to comment.