cleanup hanging code & README
This commit is contained in:
@@ -14,9 +14,6 @@ Keyboard sounds are sourced from [kbsim](https://github.com/tplai/kbsim) (MIT li
|
||||
```bash
|
||||
# Frontend dependencies
|
||||
cd frontend && npm install
|
||||
|
||||
# Download kbsim switch samples (~151 MP3 files)
|
||||
cd .. && ./scripts/fetch_kbsim_samples.sh
|
||||
```
|
||||
|
||||
## Development
|
||||
@@ -49,13 +46,13 @@ Or serve `frontend/dist` with any static file host.
|
||||
|
||||
### Keyboard shortcuts
|
||||
|
||||
| Shortcut | Action |
|
||||
|----------|--------|
|
||||
| Ctrl+Space | Play / pause |
|
||||
| Arrow keys | Nudge selected marker(s) one frame |
|
||||
| Alt+Scroll | Zoom timeline (centers on playhead) |
|
||||
| Backspace / Delete | Delete selected marker(s) |
|
||||
| Ctrl+A | Select all markers |
|
||||
| Shortcut | Action |
|
||||
| ------------------ | ----------------------------------- |
|
||||
| Ctrl+Space | Play / pause |
|
||||
| Arrow keys | Nudge selected marker(s) one frame |
|
||||
| Alt+Scroll | Zoom timeline (centers on playhead) |
|
||||
| Backspace / Delete | Delete selected marker(s) |
|
||||
| Ctrl+A | Select all markers |
|
||||
|
||||
## Project file format
|
||||
|
||||
@@ -64,7 +61,13 @@ Or serve `frontend/dist` with any static file host.
|
||||
"version": 2,
|
||||
"switch": "mxbrown",
|
||||
"markers": [
|
||||
{ "id": "m1", "time": 1.234, "key": "a", "code": "KeyA", "releaseTime": 1.312 }
|
||||
{
|
||||
"id": "m1",
|
||||
"time": 1.234,
|
||||
"key": "a",
|
||||
"code": "KeyA",
|
||||
"releaseTime": 1.312
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -79,7 +82,7 @@ Re-open the video manually after loading a project file.
|
||||
|
||||
## Switch samples
|
||||
|
||||
Samples live in `assets/samples/kbsim/` and are fetched via `scripts/fetch_kbsim_samples.sh`. Available profiles:
|
||||
Available profiles from [kbsim](https://github.com/tplai/kbsim):
|
||||
|
||||
NovelKeys Creams, Holy Pandas, Alpacas, Turquoise Tealios, Gateron Black Inks, Gateron Red Inks, Cherry MX Blacks, Cherry MX Browns, Cherry MX Blues, Kailh Box Navies, Buckling Spring, SKCM Blue Alps, Topre.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user