mirror of https://github.com/koreader/koreader
Created Android tips and tricks (markdown)
parent
d99337053d
commit
3b2ef56d72
@ -0,0 +1,21 @@
|
||||
## Customize keys
|
||||
|
||||
You can override key mappings by creating koreader/settings/event_map.lua with the things to override.
|
||||
|
||||
#### example 1: override the camera key with a page forward event:
|
||||
|
||||
```lua
|
||||
return {
|
||||
[27] = "LPgFwd",
|
||||
}
|
||||
```
|
||||
|
||||
#### example 2: use key 200 as the back key
|
||||
|
||||
```lua
|
||||
return {
|
||||
[200] = "Back",
|
||||
}
|
||||
```
|
||||
|
||||
For more information see https://github.com/koreader/koreader/issues/5558#issuecomment-548993898
|
Loading…
Reference in New Issue