One guy kindly sent me a patch to disable software keyboard when viewing
documents.
(Tsm1..Tsm4 is special tap area for Alphabet-Japanese conversion
equipped on Japanese PalmOS devices.)

--- /home/rubikitch/compile/plucker_2003-12-08_02h02m56s/viewer/viewer.c        
2003-10-15 23:54:09.000000000 +0900
+++ /home/rubikitch/src/plucker/viewer/viewer.c 2003-12-28 19:48:57.000000000 +0900
@@ -364,6 +365,19 @@
     oldMask = KeySetMask( commandKeyMask );
     if ( IsMainFormWinActive() || IsFullscreenformActive() ) {
         switch ( event->data.keyDown.chr ) {
+            /* diable Japanese henkan-keys and keyboard */
+            case vchrTsm1:
+            case vchrTsm2:
+            case vchrTsm3:
+            case vchrTsm4:
+            case vchrKeyboard:
+            case vchrKeyboardAlpha:
+            case vchrKeyboardNumeric:
+                if ( Prefs()->gestMode[ GESTURES_TAP ] != SELECT_NONE )
+                  DoSelectTypeAction( Prefs()->gestMode[ GESTURES_TAP ] );
+                handled = true;
+                break;
+          
             case vchrHard1:
                 if ( Prefs()->hardKeys &&
                      Prefs()->hwMode[ DATEBOOK_BUTTON ] != SELECT_NONE ) {



_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to