Gaia/System/Keyboard/Layout: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 15: Line 15:


* In the manifest, declare yourself as a keyboard in the <code>role</code> property.
* In the manifest, declare yourself as a keyboard in the <code>role</code> property.
* Make sure you have the <code>keyboard</code> permission.
* Make sure you have the <code>input</code> permission.


After that, after installation and activation, your keyboard will show up on the bottom half of the screen whenever the user is focused to a input field.
After that, after installation and activation, your keyboard will show up on the bottom half of the screen whenever the user is focused to a input field.
Line 22: Line 22:
* Use the new, shiny <code>navigator.mozInputMethod</code> API to mutate the content of the input given, see [[WebAPI/KeboardIME|API page]] for detail.
* Use the new, shiny <code>navigator.mozInputMethod</code> API to mutate the content of the input given, see [[WebAPI/KeboardIME|API page]] for detail.


(some sample code and/or a small template app will help here)  
(some sample code and/or a small template app will help here)


== How-tos: add your layout to your in the Gaia keyboard app ==
== How-tos: add your layout to your in the Gaia keyboard app ==
Confirmed users
478

edits

Navigation menu