I initially started off asking this question, on StackOverflow:
I want to know if a user's touchpad has multi-touch capability.
I think it's fairly trivial to detect WHEN multi touch is happening (or it is on a touchscreen anyway, is it different for touchpads), but I just want to know if it's possible, so I can prompt the user with a hint that they can scroll my data table using two fingers.
I guess that even if their machine DOES have this ability, it's not a given that they'd have "Drag two fingers to scroll" set (and I only know that's a setting on Windows - Mac/Linux may operate differently for all I know —
And then I realised I was doing the classic "ask x when you want to know y".
So here's the scenario. I have a statistical website, which features tables of data. Sometimes wider than the user's screen. I've prioritised columns and remove them via JS/CSS until the data fits their screen, and have a "show more columns" link above the table.
(I appreciate I could break the rows into multi-row, so (say) 10 columns becomes 4 rows of 2 columns, but I would prefer not to go down this route - or maybe just have it as a user-selectable option).
That link then shows the whole table, with a horizontal scrollbar.
Unfortunately these tables are often long. I don't wish to show a vertical scrollbar.
At the moment I'm using a faux scrollbar at the top of the table (so they see it when it appears), and hiding the one that would naturally appear at the bottom. It works well.
But if someone has scrolled down (say) 100 rows of a 200 row table, and then wants to scroll across... well for most of them they have to go back to the top of the table, and move that scrollbar manually. I've only just realised today that my use of two-finger-drag to scroll horizontally, is something I've taken for granted. Most users don't do that, and don't KNOW they can do that, even though most devices can.
So, is it possible to detect whether this is a possibility for them, and educate them, or am I out of luck and need to make my scrollbar fixed to the top/bottom of the viewport so it's always visible for my users? I guess I need to do that ANYWAY, but it'd be nice to make their lives easier/better, and I believe learning two-finger-drag scroll would!
Any other feedback/suggestions appreciated!