NAME
LibUI::Area::KeyEvent - LibUI::Area Keyboard Event
SYNOPSIS
TODO
DESCRIPTION
A LibUI::Area::Handler passes this when the keyEvent
callback is triggered.
Fields
Being a struct, a mouse event contains the following data:
key
- key codeextKey
- extended key codemodifier
- see LibUI::Area::Modifiersmodifiers
- see LibUI::Area::Modifiersup
- a value indicating which key has been released, if applicable
Extended Key Codes
Here's the current list of values:
ExtKeyEscape1
ExtKeyInsert
- equivalent to "Help" on Apple keyboardsExtKeyDelete
ExtKeyHome
ExtKeyEnd
ExtKeyPageUp
ExtKeyPageDown
ExtKeyUp
ExtKeyDown
ExtKeyLeft
ExtKeyRight
ExtKeyF1
- F1..F12 are guaranteed to be consecutiveExtKeyF2
ExtKeyF3
ExtKeyF4
ExtKeyF5
ExtKeyF6
ExtKeyF7
ExtKeyF8
ExtKeyF9
ExtKeyF10
ExtKeyF11
ExtKeyF12
ExtKeyN0
- numpad keys; independent of Num Lock stateExtKeyN1
- N0..N9 are guaranteed to be consecutiveExtKeyN2
ExtKeyN3
ExtKeyN4
ExtKeyN5
ExtKeyN6
ExtKeyN7
ExtKeyN8
ExtKeyN9
ExtKeyNDot
ExtKeyNEnter
ExtKeyNAdd
ExtKeyNSubtract
ExtKeyNMultiply
ExtKeyNDivide
LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Sanko Robinson <sanko@cpan.org>