https://github.com/axorax/keylock
Lock your keys with ease
https://github.com/axorax/keylock
keyboard-lock keyboards keylock mouse-lock
Last synced: 3 months ago
JSON representation
Lock your keys with ease
- Host: GitHub
- URL: https://github.com/axorax/keylock
- Owner: Axorax
- License: agpl-3.0
- Created: 2024-10-19T09:34:01.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-11T18:40:06.000Z (9 months ago)
- Last Synced: 2025-04-03T12:12:25.889Z (6 months ago)
- Topics: keyboard-lock, keyboards, keylock, mouse-lock
- Language: Python
- Homepage:
- Size: 216 KB
- Stars: 70
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![]()
keylock
Lock your keys with ease
## 💠 Preview
![]()
## 🎛️ Config file
You can make a file called `keylock.config` in the directory where the executable is. It will be used by the app to load the settings. All config options are:
```
&unlock@!@ctrl+q # Shortcut to unlock (Examples: ctrl+q, alt+s, shift+ctrl+q)
&onstart_lock_keyboard@!@false # Lock keyboard on start (true or false)
&onstart_lock_mouse@!@false # Lock mouse on start (true or false)
&refresh_rate@!@1500 # Check for lock every x milliseconds (integer only)
&quit_after@!@never # Exit app after some time (never or number in milliseconds, examples: 1000, 5000, never)
```> [!Important]
> The "Mouse lock" button is a bit buggy. When you lock only mouse, if exit shortcut has "ctrl" then you can only use a-z characters and nothing else. This is not an issue when you lock only keyboard or both.---