In wintegrate 3.x (16 bit), you can left double click at a good rate.   With 
winteg 6.0.3 or 6.1.3, I'm unable to double left click and have it transmit all 
the actual clicks.

Fyi...  The mouse keys are programmed (in the program below) as:

Type "L;":Mouse(Get_Y):";":Mouse(Get_X):"\r"
Type "R;":Mouse(Get_Y):";":Mouse(Get_X):"\r"

Here is the program output run with winteg 3.  Output is sending all clicks at 
a good rate of .18 seconds.  Works great on winteg 3.x 16 bit:

Count    Time                     Duration  Click Data
                                                                                           
                                        
0001      35509.2210          1.2970 
L;25;43                                                                                       
 
0002      35509.4710          0.2500 
L;25;43                                                                         
               
0003      35509.7210          0.2500 
L;25;43                                                                                       
 
0004      35509.8460          0.1250 L;25;43                                    
                                                    
0005      35510.0330          0.1870 
L;25;43                                                                                       
 
0006      35510.2210          0.1880 L;25;43                                    
                                                    
0007      35510.3460          0.1250 
L;25;43                                                                                       
 
0008      35510.5330          0.1870 L;25;43                                    
                                                    
0009      35510.7210          0.1880 
L;25;43                                                                                       
 
0010      35510.8460          0.1250 
L;25;43                                                                                       
 

However, here is the same program output with winteg 6 clicking at a normal 
double-click rate.   It is actually only reporting about every other click.   
Therefore I'm unable to get a good double click rate, since wintegrate 6.x is 
dropping every other click.

0001      35657.3590          1.2030 
L;33;73                                                                         
               
0002      35658.1720          0.8130 
L;33;73                                                                                       
 
0003      35658.8280          0.6560 
L;33;73                                                                         
               
0004      35659.4530          0.6250 
L;33;73                                                                                       
 
0005      35660.0780          0.6250 L;33;73                                    
                                                    
0006      35660.7660          0.6880 
L;33;73                                                                                       
 
0007      35661.4220          0.6560 L;33;73                                    
                                                    
0008      35662.0470          0.6250 
L;33;73                                                                                       
 
0009      35662.6090          0.5620 L;33;73                                    
                                                    
0010      35663.3910          0.7820 
L;33;73                                                                                       
 
0011      35664.0160          0.6250 
L;33;73                                                                                       
 
0012      35664.9060          0.8900 
L;33;73                                                                                       
 
0013      35665.7810          0.8750 
L;33;73                                                                                       
 
0014      35666.7500          0.9690 L;33;73

What is happening, is that winteg 6 is simply dropping the second click and 
this is really showing every other click in the timings.  Try it, you'll see 
what I mean.

If you run winteg 6 where you alternatively click left and right, you get this 
(which is reporting fast enough as it should).   But you cannot get winteg 6 to 
transmit double left or double right at the same speed.

0001      35755.7640          1.0310 
L;24;18                                                                         
               
0002      35756.0460          0.2820 
R;24;18                                                                                       
 
0003      35756.2330          0.1870 
L;24;18                                                                         
               
0004      35756.4210          0.1880 
R;24;18                                                                                       
 
0005      35756.6080          0.1870 
L;24;18                                                                         
               
0006      35756.8270          0.2190 
R;24;18                                                                                       
 
0007      35756.9520          0.1250 
L;24;18                                                                         
               
0008      35757.1710          0.2190 
R;24;18                                                                                       
 
0009      35757.2960          0.1250 L;24;18   

So, winteg 6 has the ability to send data quick enough, but you cannot get a 
left double click to actually send 2 clicks, unlike winteg 3.x (16 bit).

I have reproduced this both on vista and windows 7 systems.   The same is 
happening on both.

I've read through all the documentation looking for any setting affecting the 
timing and am unable to find anything.

Can anyone reproduce this issue or provide a solution?

Thanks!

-Troy



Mouse click testing program listing is here.   You will need the win.mouse 
program installed from the winteg API library installed in order to run this 
test program.

*
* small test program to show interval between mouse clicks
*
* universe - pick flavor
*
EQU AM TO CHAR(254)
*
CRT
CRT "Programming winteg mouse buttons..."
*
KEYS=1:AM:2:AM:3
*
DEFS    ='\mType "L;":Mouse(Get_Y):";":Mouse(Get_X):"\r"'
DEFS<-1>='\mType "R;":Mouse(Get_Y):";":Mouse(Get_X):"\r"'
DEFS<-1>='\mType "B;":Mouse(Get_Y):";":Mouse(Get_X):"\r"'
CALL WIN.MOUSE(KEYS,DEFS)
*
CRT
CRT "Press 'Q' to quit."
CRT
ECHO OFF
*
STOP.FLAG = 0
COUNT = 0
LAST.TIME = SYSTEM(12)
LOOP
  TIME.START = SYSTEM(12)
  LINE = ""
*
  LOOP
    CH = KEYIN()
    CH = UPCASE(CH)
    BEGIN CASE
      CASE CH = CHAR(13) ; CH = ""
      CASE CH = "Q" ; STOP.FLAG = 1
    END CASE
  UNTIL STOP.FLAG OR CH = "" DO
    LINE = LINE:CH
  REPEAT
*
  TIME.NOW = SYSTEM(12)
  TIME.NOW = OCONV(ICONV(TIME.NOW, "MD4"), "MD4")
  TICKS = TIME.NOW - TIME.START
  TICKS = OCONV(ICONV(TICKS, "MD4"), "MD4")
  COUNT = COUNT + 1
*
  CRT COUNT"R%4 ":TIME.NOW"R#15 ":TICKS"R#15 ":OCONV(LINE, "MCP")
*
UNTIL STOP.FLAG DO
REPEAT
*
ECHO ON
STOP


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to