Opt: enter or leave

This commit is contained in:
asur4s
2022-09-05 06:19:05 -04:00
parent abf78ab6f7
commit 5dfd041d8f
3 changed files with 29 additions and 9 deletions

View File

@@ -1003,6 +1003,10 @@ class FFI {
downOrUp: down);
}
void enterOrLeave(bool enter) {
bind.sessionEnterOrLeave(id: id, enter: enter);
}
/// Send key stroke event.
/// [down] indicates the key's state(down or up).
/// [press] indicates a click event(down and up).