summaryrefslogtreecommitdiff
path: root/sys/lib/python/gopherlib.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-11-14 09:12:34 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-11-14 09:12:34 +0100
commit06783edd7a66eea0285c8a7ad2fd03e5577b80ef (patch)
tree0b6fe2eae3528c26443ac71b3b0a0df3f8ef1e09 /sys/lib/python/gopherlib.py
parent76812c9bb71193b7a9a4d059890915535ef49441 (diff)
nusb/kb: multitouch support (touchscreens, stylus)
touchscreens signal multiple contact points (X/Y) in the hid descriptor separated by being nested in separate collections. the contact point is identified by a optional contact id. if omited, we use the collection index and report id. so we collect all the items (X/Y, buttons, wheel) from separate collections in Hidslot structures and in the end combine all the slots together. buttons are or'ed together while absolute X/Y is applied when it changed. relative X/Y deltas get added together. thanks to kivik and Glats for testing.
Diffstat (limited to 'sys/lib/python/gopherlib.py')
0 files changed, 0 insertions, 0 deletions