WhatPulse Forums » Community » Beta client » Archive v » Mouse/touchpad scrolling also counted as clicks? Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse/touchpad scrolling also counted as clicks?
11-26-2012, 02:55 PM
Post: #1
Mouse/touchpad scrolling also counted as clicks?
Just wondering after saw number of clicks increases quickly when browsing web but I rarely click anything.

My whatpulse is 2.0b7 Linux 64bits.

By the way, great job on the new version Smile
Find all posts by this user
Quote this message in a reply
11-26-2012, 03:48 PM
Post: #2
Mouse/touchpad scrolling also counted as clicks?
That's an odd glitch. Could you please give us some more information regarding the computer that you're using as well as any details you can give us about your touchpad?

Also, can you reproduce this consistently to be able to give us a definitive answer of when it happens?

~Century0
Find all posts by this user
Quote this message in a reply
11-26-2012, 05:02 PM
Post: #3
Mouse/touchpad scrolling also counted as clicks?
Sure. My laptop is Lenovo Thinkpad X220 running Ubuntu 11.10 with GNOME Desktop. I can reproduce this issue on both Gnome and Unity, before and after the machine is rebooted. Not sure what did you mean about the detail of touchpad though, if there are any script to collect the information would be great.

One thing that I notice is that scroll up generates button 4 events and scroll down generates button 5 events that I think the program might interprets these events as mouse clicking.

Here is a output from xev that I test scrolling the mouse:
...
ButtonPress event, serial 37, synthetic NO, window 0x4800001,
root 0xc7, subw 0x0, time 19461370, (89,108), root:(90,191),
state 0x0, button 4, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x4800001,
root 0xc7, subw 0x0, time 19461370, (89,108), root:(90,191),
state 0x800, button 4, same_screen YES
...
ButtonPress event, serial 37, synthetic NO, window 0x4800001,
root 0xc7, subw 0x0, time 19462040, (89,108), root:(90,191),
state 0x0, button 5, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x4800001,
root 0xc7, subw 0x0, time 19462040, (89,108), root:(90,191),
state 0x1000, button 5, same_screen YES
Find all posts by this user
Quote this message in a reply
11-26-2012, 06:56 PM
Post: #4
Mouse/touchpad scrolling also counted as clicks?
Now that you mentioned it, I can confirm that with my machine, too.

It's an 6 year old Dell Inspiron 9400 (17"), "cat /proc/bus/input/devices" lists this as the touchpad:

Code:
I: Bus=0011 Vendor=0002 Product=0007 Version=0fb1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse0 event5
B: PROP=1
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=11000003
Find all posts by this user
Quote this message in a reply
11-26-2012, 07:10 PM
Post: #5
Mouse/touchpad scrolling also counted as clicks?
Ok, that makes up my mind about reverting to the 1.* way of counting on Linux. ;-)

2.0 currently uses X11 hooks for the input, which obviously is inaccurate and can probably be simulated.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-26-2012, 07:49 PM
Post: #6
Mouse/touchpad scrolling also counted as clicks?
hehe, I'm sure everything can be simulated somehow -- espacially with hardware that's designed for that - but the harder it is, the better it is...
On question though, will you capture also the keys like in 1.x? Because I'm still having the funny problem that some keys aren't counted.... like e.g. "Page Up" and "Page Down" which I happen to use a lot... (Code-Reviews, Error-/Application-Logs Wink )
Find all posts by this user
Quote this message in a reply
11-27-2012, 09:33 AM
Post: #7
Mouse/touchpad scrolling also counted as clicks?
The PgUp PgDn keys aren't counted is not happen in my computer. But the keys/clicks count not increasing instantly. It took about 3-4 seconds after pressed/clicked or sometimes wait until the next few key presses/clicks to increase the right number.
Find all posts by this user
Quote this message in a reply
11-27-2012, 09:27 PM
Post: #8
Mouse/touchpad scrolling also counted as clicks?
FamilienVater: The input hook is used for both keys and clicks.

nopparat: The GUI doesn't update realtime, it uses timed updates.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-27-2012, 09:39 PM
Post: #9
Mouse/touchpad scrolling also counted as clicks?
woohooo Smile that might solve at least a few of my "problems" - on the other hand, it won't solve the "page up/down" problem on windows for sure...

@nopparat: pressing "page up" 100 times and then three times "a" + wait for update increases the counter only by 3 so it's not an issue with the timed updates. Maybe it's because I have a german keyboard and the driver reports it as "bild auf"... :/
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  2.1b1 stops recording keys and clicks Maverick 4 5,560 04-06-2013 05:37 PM
Last Post: smitmartijn
  2.1b1 not counting keys and sometimes clicks defurious 2 4,071 03-20-2013 08:52 AM
Last Post: defurious
  Stops counting keys and clicks Chasingu 1 2,592 11-17-2012 04:02 AM
Last Post: Chasingu

Forum Jump:


User(s) browsing this thread: 1 Guest(s)