Re: [w3c/uievents] Identify which of multiple keyboards an event came from (#226)

As I mentioned, special-purpose keyboard is used alongside a normal keyboard. It dispatches the same key codes, but actually the button on them is labelled e.g. "buy", so to act on that you need to know which device it came from.

For the basic use case, some `device` attribute on an event with value `0` or `1` etc. would suffice. The user could tell us in the app that they have one of these devices, we could then ask them to press a button on it to learn which `device` it is. For that, I'm not sure if there is a privacy/fingerprinting issue; all that could be learnt is that the user has >1 keyboard.

True about the fingerprinting/privacy for the more capable features like identifying which model it is; I mentioned a bit about this on the WICG thread - consent may need to be sought. 

Perhaps the wider issue here is that these devices, which were not designed for the web, are physical keyboards but are not for entering characters. In that respect, they are more like a game pad - which we have an API for already.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/226#issuecomment-470667625

Received on Thursday, 7 March 2019 19:47:26 UTC