Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new behavior for long keypress #12

Closed
hekra01 opened this issue Sep 8, 2015 · 1 comment
Closed

Add new behavior for long keypress #12

hekra01 opened this issue Sep 8, 2015 · 1 comment
Assignees

Comments

@hekra01
Copy link
Contributor

hekra01 commented Sep 8, 2015

When processing:
/session/:sessionId/keys
/session/:sessionId/element/:id/value
Current behavior:

  • first KeyPress event isAutoRepeat = false
  • last KeyRelease event isAutoRepeat = false
  • all intermediary events isAutoRepeat = true

New behavior wanted:

  • first KeyPress event isAutoRepeat = false
  • last KeyRelease event isAutoRepeat = false
  • all intermediary events isAutoRepeat = true and only of type KeyPress (no intermediary KeyRelease)
@hekra01 hekra01 self-assigned this Sep 8, 2015
@hekra01
Copy link
Contributor Author

hekra01 commented Sep 9, 2015

Fixed by a1a30e4
Added new WD build option WD_CONFIG_ONE_KEYRELEASE. If set WD will do this on long key press;

  • first KeyPress event isAutoRepeat = false
  • last KeyRelease event isAutoRepeat = false
  • all intermediary events isAutoRepeat = true and
  • No intermediary KeyRelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant