I'm using digital impression devices to get X/Y coordinates of the writing, and I'm adding them to the editor using: editorElement.editor.pointerEvents(pointerEventsObject)
The problem is if the user holds the device in landscape mode, the handwriting is not recognized. The impression device can't determine the orientation, so it should be done automatically. Any ideas on how to achieve this?
Best Answer
O
Olivier @MyScript
said
over 2 years ago
Dear Benke,
thank you for contacting us.
Currently, I am not sure to understand your point.
Normally, simply ensuring the app switches in landscape mode will solve the behavior.
Unfortunately, if the device doesn't have any sensor to determine the orientation, we unfortunately have no way to determine the orientation and "rotate" the ink coordinates.
I'm getting the pen data (X/Y coordinates) from an external Bluetooth writing pad, for example the Wacom Bamboo Slate.
I was wondering if your engine can determine the orientation based on the flow of the writing. Anyway, I have some methods to detect orientation, so my problem is solved more or less. :-)
O
Olivier @MyScript
said
over 2 years ago
Answer
Dear Benke,
thank you for contacting us.
Currently, I am not sure to understand your point.
Normally, simply ensuring the app switches in landscape mode will solve the behavior.
Unfortunately, if the device doesn't have any sensor to determine the orientation, we unfortunately have no way to determine the orientation and "rotate" the ink coordinates.
Benke.smith
I'm using digital impression devices to get X/Y coordinates of the writing, and I'm adding them to the editor using:
editorElement.editor.pointerEvents(pointerEventsObject)
The problem is if the user holds the device in landscape mode, the handwriting is not recognized. The impression device can't determine the orientation, so it should be done automatically. Any ideas on how to achieve this?
Dear Benke,
thank you for contacting us.
Currently, I am not sure to understand your point.
Normally, simply ensuring the app switches in landscape mode will solve the behavior.
Unfortunately, if the device doesn't have any sensor to determine the orientation, we unfortunately have no way to determine the orientation and "rotate" the ink coordinates.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstBenke.smith
Thanks for your reply! :-)
I'm getting the pen data (X/Y coordinates) from an external Bluetooth writing pad, for example the Wacom Bamboo Slate.
I was wondering if your engine can determine the orientation based on the flow of the writing. Anyway, I have some methods to detect orientation, so my problem is solved more or less. :-)
Olivier @MyScript
Dear Benke,
thank you for contacting us.
Currently, I am not sure to understand your point.
Normally, simply ensuring the app switches in landscape mode will solve the behavior.
Unfortunately, if the device doesn't have any sensor to determine the orientation, we unfortunately have no way to determine the orientation and "rotate" the ink coordinates.
Best regards,
Olivier