You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/ui/widget
Borys Lykah 9b2201a438
Initial hotpluggable keyboard handling (#9540)
* Added a new plugin external-keyboard. It listens to USB events. When keyboard is plugged in or plugged out, it updates device and input configuration accordingly.
* Added new fake events UsbDevicePlugIn and UsbDevicePlugOut that are emitted when a device is connected to a book reader that plays the role of USB host. The usage of the existing events UsbPlugIn and UsbPlugOut has not changed - they are used when a reader is connected to a host. The koreader-base has a related PR for those events.
* Did a small refactoring of initialization for the modules FocusManager and InputText. They check device keyboard capabilities on their when the module is first loaded and store it. Some of the initialization code has been extracted into functions, so that we can re-initialize them when keyboard is (dis)connected.
* Initial implementation centered around text input, and tested with USB keyboards on devices with OTG support.
* Said OTG shenanigans are so far supported on devices with debugfs & the chipidea driver, or sunxi devices.
2 years ago
..
container ScrollableContainer: fix 'argc' (#9680) 2 years ago
bboxwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
bookmapwidget.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
bookstatuswidget.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
button.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
buttondialog.lua ButtonDialog: add documentation about layout (#9505) 2 years ago
buttondialogtitle.lua buttondialogtitle: align upper borders (#9631) 2 years ago
buttonprogresswidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
buttontable.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
checkbutton.lua ScrollableContainer: fix 'argc' (#9680) 2 years ago
checkmark.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
closebutton.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
configdialog.lua ConfigDialog: fix a bug with default values (#9666) 2 years ago
confirmbox.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
datetimewidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
dictquicklookup.lua DictQuickLookup: The window_list array needs to be a static class member 2 years ago
doublespinwidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
eventlistener.lua Cleanup various varargs shenanigans (#9624) 2 years ago
filechooser.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
fixedtextwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
focusmanager.lua Initial hotpluggable keyboard handling (#9540) 2 years ago
footnotewidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
frontlightwidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
horizontalgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
horizontalscrollbar.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
horizontalspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
htmlboxwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
iconbutton.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
iconwidget.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
imageviewer.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
imagewidget.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
infomessage.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
inputdialog.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
inputtext.lua Initial hotpluggable keyboard handling (#9540) 2 years ago
keyboardlayoutdialog.lua ScrollableContainer: fix 'argc' (#9680) 2 years ago
keyvaluepage.lua Keyvaluepage: better alignment (#9672) 2 years ago
linewidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
linkbox.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
listview.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
logindialog.lua InputDialog: insert TitleBar (#8695) 2 years ago
menu.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
multiconfirmbox.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
multiinputdialog.lua MultiDialog: Fix an extremely nasty API misuse 2 years ago
naturallightwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
networksetting.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
notification.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
numberpickerwidget.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
openwithdialog.lua Non-touch: highlight support (#8877) 2 years ago
overlapgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
pagebrowserwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
pathchooser.lua PathChooser: add creating folder (#9354) 2 years ago
physicalkeyboard.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
progresswidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
qrmessage.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
qrwidget.lua Qrcode support (#6844) 4 years ago
radiobuttontable.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
radiobuttonwidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
radiomark.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
rectspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
screensaverwidget.lua Fix: key_events cannot be nil anymore since #9586 2 years ago
screenshoter.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
scrollhtmlwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
scrolltextwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
skimtowidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
sortwidget.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
spinwidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
textboxwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
textviewer.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
textwidget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
titlebar.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
toggleswitch.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
touchmenu.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
trapwidget.lua Cleanup: Remove unused onAnyKeyPressed handlers 2 years ago
verticalgroup.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
verticalscrollbar.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
verticalspan.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
virtualkeyboard.lua Keyboard: add Slovak virtual keyboard (#9656) 2 years ago
widget.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago