-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interaction with IME #16
Comments
@TakayoshiKochi thank you! My motivation at the moment is just around pointing devices (as you can see by the only defined property being Given the extremely narrow scope of the API at the moment, I think the only detail related to text input that matters right now is what Is there anything in the spec today that you'd be concerned might limit our options around IME scenarios in the future? In practice I don't expect |
Yeah, to be honest, I don't think of a good use cases where IME matters for this input device spec. In the good old days, there was a clear distinction whether the input was directly from keyboard I'd say it's hard to abstract classes to classify any text input device which already exists or will I second your opinion that we should add things in use-case focused way. |
This is spun off from my comment in the doc.
Please ignore if the main motivation for the API is pointing devices,
not keyboard or text input devices.
If one of the motivations is to detect low-level input device,
e.g., an Android phone user is typing text on-screen (virtual keyboard) or
bluetooth hardware keyboard, or USB barcode reader etc.,
then ignoring the IME layer would make sense and give the script author
the information about which physical device is being used.
If the author wants to know the details of 'how this input content is generated from user input' -
then the problem becomes very complex, depending on how much detail is needed.
Even with bluetooth keyboard, IME may preprocess the raw input on Android.
A raw keypress might go through very complex path if IME is involved
(maybe go back and forth several times from browser and IME) until
the final resulting character sequence is generated and delivered to the destination web page.
How an application (browser) interacts with system's IME
varies from system to system, it's hard to abstract to an interoperable APIs.
So my gut feeling is that IME should be out of scope for this spec,
but there might be some information about IME which can be useful.
Here are my random ideas:
('raw' or 'cooked')
gesture/handwriting recognizer)?
to distinguish the state is 'in progress' or 'somewhat finished'.
The text was updated successfully, but these errors were encountered: