gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob/doc/pegboard/gl_mouse_modifiers--mudyc p...


From: Matti Katila
Subject: [Gzz-commits] libvob/doc/pegboard/gl_mouse_modifiers--mudyc p...
Date: Fri, 01 Aug 2003 08:32:23 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/01 08:32:23

Modified files:
        doc/pegboard/gl_mouse_modifiers--mudyc: peg.rst 

Log message:
        fix

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst
diff -u libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst:1.2 
libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst:1.3
--- libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst:1.2   Fri Aug  1 
06:38:27 2003
+++ libvob/doc/pegboard/gl_mouse_modifiers--mudyc/peg.rst       Fri Aug  1 
08:32:23 2003
@@ -5,8 +5,8 @@
 
 :Authors:  Matti Katila
 :Date-Created: 2003-08-01
-:Last-Modified: $Date: 2003/08/01 10:38:27 $
-:Revision: $Revision: 1.2 $
+:Last-Modified: $Date: 2003/08/01 12:32:23 $
+:Revision: $Revision: 1.3 $
 :Status:   Current
 :Stakeholders: tjl
 :Scope:    Trivial
@@ -14,34 +14,38 @@
 
 
 InputEvent, which is inherited by MouseEvent, knows the 
-states of modifier keys. The current native event binder gives
+states of modifier keys. The current OpenGL native event binder gives
 wrong modifiers to InputEvent class. To avoid difference between
-gl and awt clients this must be fixed.
+OpenGL and awt clients this must be fixed.
 
 
 Intro
 =====
 
-Input event model between awt and gl differs. In awt JVM handles all 
-events and in gl all events are binded from X (currently there are no
-other ports) to JVM through JNI. The current mouse binded doesn't look 
-for extended modifier keys('Control', 'Alt', 'Shift' or 'Meta').
+Input event model between awt and OpenGL differs. In awt JVM handles all 
+events and in OpenGL all events are binded from X (currently there 
+are no other ports) to JVM through JNI. The current mouse binder 
+doesn't look for modifier keys('Control', 'Alt', 'Shift' or 'Meta').
 
 
 Changes
 =======
 
-The current binder makes the extended modifier key(s) to look more like:
+The current OpenGL event code sends modifier keys on mouse button 
+events in a really strange way:
 
-1. With button 1 extended modifiers is "Button1"
+1. If button 1 was pressed, then the event sent is "Button1"
 
-2. With button 2 extended modifiers are "Alt+Button2"
+2. If button 2 was pressed, then the event sent is "Alt+Button2"
 
-3. With button 3 extended modifiers are "Meta+Button3"
+3. If button 3 was pressed, then the event sent is "Meta+Button3"
 
-The correct extended key(s) *don't affect* any kind.
+There are *no change* in the event if any of the modifiers 
+is pressed or not. So modifier keys *don't affect* any kind 
+to the event. This is a bug.
+
+The code that handles the X's OpenGL events to java must be 
+fixed to correspond the correct mature of awt client 
+where 'Control', 'Shift', 'Alt' and 'Meta' are 
+noticed only when the modifier is pressed.
 
-The code that handles X events to java must be fixed to correspond 
-the correct mature of awt client where "Control", "Shift", "Alt" 
-and "Meta" extended modifiers are noticed only when the button 
-state is down.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]