Ticket #748 (closed defect: fixed)
Stylus keyboard cannot use square brackets
| Reported by: | george.barta@… | Owned by: | mickey@… |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | openmoko-keyboard | Version: | 2007.2 |
| Severity: | minor | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
When using the stylus keyboard pressing the SHIFT key displays a new layout,
but not all the keys are correct. The following keys do not work:
Displayed/Expected? Value => Result
` => ~
[ => {
] => }
< => >
' => "
Change History
Note: See
TracTickets for help on using
tickets.

This is due to mb_kbd_ui_send_press passing the modifiers to fakekey_press.
This is okay for a "default" layout, but breaks when we deviate from that.
The problem is also obvious if you reverse the capitalization on a letter:
<key obey-caps='true'>
</key>
Will both yield 'A', since a + shift results in 'A'
I'm not sure how we should fix this, I'll inquire on the matchbox ml.