Skip to content

Conversation

@wzrayyy
Copy link

@wzrayyy wzrayyy commented Dec 9, 2025

Hey! First, thanks for the app, it's absolutely great! <3

This PR introduces an option to change vibration amplitude (maybe the user-facing name should be changed to something more appropriate). Here is what I have done:

  • Added a submenu to the PreferencesScreen to easily toggle between off/system/custom vibration modes, this also allows to simplify the logic.
  • Implemented a migration mechanism, so that these changes won't affect current users.

I've also made sure to test the vibration related functions, and they appear to be working correctly.

Again, thanks for your time, your work is greatly appreciated!

@wzrayyy
Copy link
Author

wzrayyy commented Dec 9, 2025

Closes #1791

@wzrayyy
Copy link
Author

wzrayyy commented Dec 10, 2025

Thanks, done

return;
}

// if (repeatCount % PERIOD_FOR_AUDIO_AND_HAPTIC_FEEDBACK_IN_KEY_REPEAT == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is code here commented out?

Comment on lines +549 to +551
<string name="prefs_keypress_vibration_mode_off">Off</string>
<string name="prefs_keypress_vibration_mode_system">System default</string>
<string name="prefs_keypress_vibration_mode_custom">Custom</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comments here, right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants