Fix the pointer

This commit is contained in:
artdeell 2020-12-31 21:25:46 +03:00
parent 27d746095a
commit e7e202bff5
5 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -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>