mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Add rating hotkeys (#208)
This commit is contained in:
parent
f0e518d3c8
commit
571ea3c653
3 changed files with 25 additions and 1 deletions
|
|
@ -91,6 +91,12 @@ export enum BindingActions {
|
|||
PLAY = 'play',
|
||||
PLAY_PAUSE = 'playPause',
|
||||
PREVIOUS = 'previous',
|
||||
RATE_0 = 'rate0',
|
||||
RATE_1 = 'rate1',
|
||||
RATE_2 = 'rate2',
|
||||
RATE_3 = 'rate3',
|
||||
RATE_4 = 'rate4',
|
||||
RATE_5 = 'rate5',
|
||||
SHUFFLE = 'toggleShuffle',
|
||||
SKIP_BACKWARD = 'skipBackward',
|
||||
SKIP_FORWARD = 'skipForward',
|
||||
|
|
@ -234,6 +240,12 @@ const initialState: SettingsState = {
|
|||
play: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
playPause: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
previous: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate0: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate1: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate2: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate3: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate4: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
rate5: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
skipBackward: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
skipForward: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
stop: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue