fix: update auto-release keyboard interval to 225

This commit is contained in:
Adam Shiervani 2025-09-16 14:35:14 +02:00 committed by Siyuan Miao
parent cc93748d8d
commit c394fc559d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ var keyboardConfig = gadgetConfigItem{
// macOS default: 15 * 15 = 225ms https://discussions.apple.com/thread/1316947?sortBy=rank
// Linux default: 250ms https://man.archlinux.org/man/kbdrate.8.en
// Windows default: 1s `HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Response\AutoRepeatDelay`
const autoReleaseKeyboardInterval = time.Millisecond * 100
const autoReleaseKeyboardInterval = time.Millisecond * 225
// Source: https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt
var keyboardReportDesc = []byte{