An open API service indexing awesome lists of open source software.

https://github.com/mainrs/keyboard-shortcut-parser


https://github.com/mainrs/keyboard-shortcut-parser

rust-library

Last synced: 16 days ago
JSON representation

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();
```