There are four events: BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP, BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP.
One of these events will be sent when click down and click up.
Only one finger touched the touchpad, the BTN_TOOL_FINGER is sent.
Two fingers touched, the BTN_TOOL_DOUBLETAP is sent.
Three fingers touched, the BTN_TOOL_TRIPLETAP is sent.
Four fingers touched, the BTN_TOOL_QUADTAP is sent.
In the xserver-xorg-input-synaptics, the driver knows how many finger is touching via these events.
In the source code, the number of the touching finger is saved in hw->numFingers.
And, the "numFingers == 1" only be used in "Two finger emulation".
More information about the BTN_TOOL_FINGER event. /www.kernel. org/doc/ Documentation/ input/event- codes.txt.
I found the BTN_TOOL_FINGER definition in https:/
There are four events: BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP, BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP.
One of these events will be sent when click down and click up.
Only one finger touched the touchpad, the BTN_TOOL_FINGER is sent.
Two fingers touched, the BTN_TOOL_DOUBLETAP is sent.
Three fingers touched, the BTN_TOOL_TRIPLETAP is sent.
Four fingers touched, the BTN_TOOL_QUADTAP is sent.
In the xserver- xorg-input- synaptics, the driver knows how many finger is touching via these events.
In the source code, the number of the touching finger is saved in hw->numFingers.
And, the "numFingers == 1" only be used in "Two finger emulation".