From d02620933eccc238fb1b3f1b64ee1bde3ba08b77 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 12 May 2010 12:49:37 +0000 Subject: [PATCH] Got an updated usage for iPad keyboard from matthias. --- Tweak.mm | 4 ++-- control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tweak.mm b/Tweak.mm index 0046708..c3898ef 100644 --- a/Tweak.mm +++ b/Tweak.mm @@ -417,8 +417,8 @@ static void VNCKeyboard(rfbBool down, rfbKeySym key, rfbClientPtr client) { GSEventRef event0, event1(NULL); if ($GSEventCreateKeyEvent != NULL) { string = CFStringCreateWithCharacters(kCFAllocatorDefault, &unicode, 1); - event0 = (*$GSEventCreateKeyEvent)(10, point, string, string, nil, unicode, 0, 1); - event1 = (*$GSEventCreateKeyEvent)(11, point, string, string, nil, unicode, 0, 1); + event0 = (*$GSEventCreateKeyEvent)(10, point, string, string, nil, 0, 0, 1); + event1 = (*$GSEventCreateKeyEvent)(11, point, string, string, nil, 0, 0, 1); } else if ($GSCreateSyntheticKeyEvent != NULL) { event0 = (*$GSCreateSyntheticKeyEvent)(unicode, YES, YES); GSEventRecord *record(_GSEventGetGSEventRecord(event0)); diff --git a/control b/control index bd14fd9..e361a4d 100644 --- a/control +++ b/control @@ -5,7 +5,7 @@ Priority: optional Section: Networking Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.3167-1 +Version: 0.9.3189-1 Description: a VNC /server/ for the iPhone Name: Veency Depends: mobilesubstrate (>= 0.9.2966-1), libvncserver, com.saurik.iphone.ske, preferenceloader, jp.ashikase.mousesupport | firmware (<< 3.0) -- 2.47.2