Skip to content

Commit

Permalink
Add long-press caps-lock activation vibration (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgold committed Mar 29, 2021
1 parent 224d3e0 commit f2403d0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ class KeyView(
KeyCode.SHIFT -> {
longKeyPressHandler.postDelayed((delayMillis * 2.5).toLong()) {
this.florisboard.textInputManager.inputEventDispatcher.send(InputKeyEvent.downUp(KeyData.SHIFT_LOCK))
florisboard.keyPressVibrate()
florisboard.keyPressSound(data)
}
}
KeyCode.LANGUAGE_SWITCH -> {
Expand Down

0 comments on commit f2403d0

Please sign in to comment.