https://github.com/mainrs/keyboard-shortcut-parser
https://github.com/mainrs/keyboard-shortcut-parser
rust-library
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mainrs/keyboard-shortcut-parser
- Owner: mainrs
- License: mit
- Created: 2020-07-08T09:37:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T12:44:14.000Z (almost 5 years ago)
- Last Synced: 2025-05-09T01:09:44.664Z (16 days ago)
- Topics: rust-library
- Language: Rust
- Homepage:
- Size: 28.3 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# keyboard-shortcut-parser
> A small Rust library used to parse shortcut strings like `ctrl+alt+p`.
## Example
```rust
use keyboard_shortcut_parser::{parse_key_string, Key, KeyModifier, KeySpecial};let i = "ctrl+alt+delete";
let v: Vec = parse_key_string(&i).unwrap();
```