Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you have a general question, it's best to [ask in the community chat](https:/

* Network export of device frame buffer with optional server-side scaling.
* Injection of remote pointer and basic keyboard events (Latin-1 charset plus some special keys,
supporting any kind of UI widget on Android 13 and newer, on older devices into EditText widgets only).
supporting any kind of UI widget on Android 14 and newer, on older devices into EditText widgets only).
* Handling of client-to-server text copy & paste. Note that server-to-client copy & paste only works
automatically for text selected in editable text fields or manually by sharing text to droidVNC-NG
via Android's Share-To functionality.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,11 @@ public static void onKeyEvent(int down, long keysym, long client) {
/*
API 33+ way of sending key events. This is preferred there as it also works with non-
AccessibilityNode-widgets.
We are only using this on API level 34+ though as level 33 does not have
https://cs.android.com/android/_/android/platform/frameworks/base/+/89025ff06e71f9e37b4bb6f94e43ff50f246d581
applied.
*/
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
if (Build.VERSION.SDK_INT >= 34) {
// If this fails, it falls back to the usual AccessibilityNodeInfo approach
try {
/*
Expand Down

0 comments on commit 787e26d

Please sign in to comment.