mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 00:59:35 -04:00
Fix the pointer
This commit is contained in:
parent
27d746095a
commit
e7e202bff5
@ -55,7 +55,8 @@ public class CallbackBridge {
|
||||
*/
|
||||
|
||||
//nativeSendKeycode(keycode, keychar, scancode, isDown ? 1 : 0, modifiers);
|
||||
if(keycode != 0 || !isDown) nativeSendKey(keycode,scancode,isDown ? 1 : 0, modifiers);
|
||||
if(keycode != 0) nativeSendKey(keycode,scancode,isDown ? 1 : 0, modifiers);
|
||||
else nativeSendKey(32,scancode,isDown ? 1 : 0, modifiers);
|
||||
if(isDown && keychar != '\u0000') {
|
||||
nativeSendCharMods(keychar,modifiers);
|
||||
nativeSendChar(keychar);
|
||||
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
BIN
app_pojavlauncher/src/main/res/drawable/mouse_pointer.png
Normal file
BIN
app_pojavlauncher/src/main/res/drawable/mouse_pointer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
BIN
app_pojavlauncher/src/main/res/drawable/mouse_pointer_1.png
Executable file
BIN
app_pojavlauncher/src/main/res/drawable/mouse_pointer_1.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
@ -51,9 +51,9 @@
|
||||
android:key="mousescale"
|
||||
android:summary="@string/mcl_setting_subtitle_mousescale"
|
||||
android:title="@string/mcl_setting_title_mousescale"
|
||||
app2:showSeekBarValue="true"
|
||||
app2:icon="@drawable/mouse_pointer_1"
|
||||
app2:selectable="false"
|
||||
app2:icon="@drawable/mouse_pointer"/>
|
||||
app2:showSeekBarValue="true" />
|
||||
|
||||
</androidx.preference.PreferenceCategory>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user