fix typos

This commit is contained in:
Vincent Wei
2019-06-20 11:38:10 +08:00
parent 1a948f71d5
commit 2cb7f7b08f

View File

@@ -324,7 +324,7 @@ want to handle these extra input events such as gestures, you need
to handle the `MSG_EXIN_XXX` messages in the app. For examples, please
refer to `mg-tests/drm-extra-input/`.
Currently, there are two built-in IAL engines in MiniGUI can generates
Currently, there are two built-in IAL engines which can generates
the extra input messages:
* The IAL engine of `libinput` to support all modern input devices on a
@@ -395,13 +395,13 @@ which can be generated by the engine if `button` is included.
The MiniGUI ETC key `random.maxbtncode` specifies the maximal key code
which can be generated by the engine if `button` is included.
For invalid `random.eventtyps`, use `mouse` as default.
For invalid `random.eventtyps`, the engine uses `mouse` as default.
For invalid `random.minkeycode`, and/or `random.maxkeycode` key values, use
`SCANCODE_ESCAPE`, and `SCANCODE_MICMUTE` respectively.
For invalid `random.minkeycode`, and/or `random.maxkeycode` key values,
the engine uses `SCANCODE_ESCAPE`, and `SCANCODE_MICMUTE` respectively.
For invalid `random.minbtncode`, and/or `random.maxbtncode key values, use
`0x100` (BTN_MISC defined by Linux kernel), and `0x2ff` (KEY_MAX defined by
For invalid `random.minbtncode`, and/or `random.maxbtncode` key values, use
`0x100` (`BTN_MISC` defined by Linux kernel), and `0x2ff` (`KEY_MAX` defined by
Linux kernel) respectively.
This engine maintains a state machine for each input event type, and
@@ -411,10 +411,10 @@ event type randomly.
Note that currently, the following event types are not implemented:
- multi_touch
- tablet_tool
- tablet_pad
- switch
- `multi_touch`
- `tablet_tool`
- `tablet_pad`
- `switch`
#### Slice allocator
@@ -440,9 +440,12 @@ Note that this implementation is derived from LGPL'd glib.
#### Other enhancements
* A new BITMAP type `BMP_TYPE_REPLACEKEY` was added. When `bmType` of a BITMAP object
has this bit set, any pixel which is equal to `bmColorKey` will be replaced by
`bmColorRep`.
* A new BITMAP type `BMP_TYPE_REPLACEKEY` was added. When `bmType` of
a BITMAP object has this bit set, any pixel which is equal to
`bmColorKey` will be replaced by `bmColorRep`.
* More key scancodes are defined for modern keyboard, and the `NR_KEYS`
is re-defined to be 250.
* Support for libPNG 1.6.x.