2017-05-16 00:48:58 -07:00
|
|
|
import efl_input_types;
|
|
|
|
|
2016-05-29 23:34:31 -07:00
|
|
|
interface Efl.Input.State ()
|
|
|
|
{
|
2016-11-15 02:39:53 -08:00
|
|
|
[[Efl input state interface]]
|
2016-05-29 23:34:31 -07:00
|
|
|
eo_prefix: efl_input;
|
|
|
|
methods {
|
|
|
|
@property modifier_enabled {
|
2017-05-16 00:48:58 -07:00
|
|
|
[[Indicates whether a key modifier is on, such as Ctrl, Shift, ...]]
|
2016-05-29 23:34:31 -07:00
|
|
|
get {}
|
|
|
|
keys {
|
2017-05-16 00:48:58 -07:00
|
|
|
mod: Efl.Input.Modifier; [[The modifier key to test.]]
|
2016-05-29 23:34:31 -07:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
is_set: bool; [[$true if the key modifier is pressed.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property lock_enabled {
|
|
|
|
[[Indicates whether a key lock is on, such as NumLock, CapsLock, ...]]
|
|
|
|
get {}
|
|
|
|
keys {
|
2017-05-16 00:48:58 -07:00
|
|
|
lock: Efl.Input.Lock; [[The lock key to test.]]
|
2016-05-29 23:34:31 -07:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
is_set: bool; [[$true if the key lock is on.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|