aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard.lua
Commit message (Collapse)AuthorAgeFilesLines
* Fix #11: Right click support.Matthias Richter2013-11-041-0/+5
| | | | | | | When clicked, Button() and Input() return the respective mouse button constant ('l', 'r', 'm') instead of just true. When activated by keyboard, Button() and Input() return 'return'. Otherwise Button() and Input() return false.
* Fix #7: Pressing return crashes Input.Matthias Richter2013-03-241-1/+5
| | | | | Add arguments to call of keyboard.pressed() in input.lua. Add sanity check to keyboard.pressed().
* Add gui.keyboard.getFocus() and gui.mouse.getHot()Matthias Richter2012-12-151-5/+7
|
* Rename (dis|en)ableFocus() to (dis|en)able()Matthias Richter2012-10-101-3/+4
|
* Fix #4: keyboard.disableFocus() not working.Matthias Richter2012-09-031-0/+1
| | | | | Used undefined variable NO_WIDGET to clear keyboard focus. Same error was made in mouse.lua.
* Mega update: Auto layout, code cleanup, api change.Matthias Richter2012-05-091-0/+89
Basically half a rewrite.