Fix presets

This commit is contained in:
the1812 2021-03-18 10:49:42 +08:00
parent ed67e589d8
commit 47bf61b791
2 changed files with 12 additions and 10 deletions

View File

@ -1 +1 @@
(()=>(e,r)=>{const a={Default:{},YouTube:{like:"",longJumpForward:"j",longJumpBackward:"l",videoSpeedIncrease:"shift > 》",videoSpeedDecrease:"shift < 《",previousFrame:", ",nextFrame:". 。",seekBegin:"0 Home"},HTML5Player:{coin:"",danmaku:"",fullscreen:"enter",webFullscreen:"shift enter",pictureInPicture:"shift p",longJumpForward:"ctrl arrowLeft",longJumpBackward:"ctrl arrowRight",videoSpeedIncrease:"c",videoSpeedDecrease:"x",videoSpeedReset:"z",previousFrame:"d",nextFrame:"f",takeScreenshot:"shift s"},PotPlayer:{coin:"",danmaku:"",fullscreen:"enter",webFullscreen:"6",longJumpForward:"ctrl arrowLeft",longJumpBackward:"ctrl arrowRight",videoSpeedIncrease:"c",videoSpeedDecrease:"x",videoSpeedReset:"z",previousFrame:"d",nextFrame:"f",seekBegin:"backspace"}};return{export:{presets:a}}})();
(()=>(e,r)=>{const t={Default:{},YouTube:{like:"shift l",pause:"space k",longJumpForward:"j",longJumpBackward:"l",videoSpeedIncrease:"shift > 》",videoSpeedDecrease:"shift < 《",previousFrame:", ",nextFrame:". 。",seekBegin:"0 Home"},HTML5Player:{coin:"shift c",danmaku:"shift d",quickFavorite:"ctrl shift s",fullscreen:"enter",webFullscreen:"shift enter",pictureInPicture:"shift p",longJumpBackward:"ctrl arrowLeft",longJumpForward:"ctrl arrowRight",videoSpeedIncrease:"c",videoSpeedDecrease:"x",videoSpeedReset:"z",previousFrame:"d",nextFrame:"f",takeScreenshot:"shift s"},PotPlayer:{coin:"shift c",danmaku:"shift d",fullscreen:"enter",webFullscreen:"6",longJumpBackward:"ctrl arrowLeft",longJumpForward:"ctrl arrowRight",videoSpeedIncrease:"c",videoSpeedDecrease:"x",videoSpeedReset:"z",previousFrame:"d",nextFrame:"f",seekBegin:"backspace"}};return{export:{presets:t}}})();

View File

@ -1,7 +1,8 @@
export const presets: Record<typeof settings['keymapPreset'], Record<string, string>> = {
Default: {},
YouTube: {
like: '',
like: 'shift l',
pause: 'space k',
longJumpForward: 'j',
longJumpBackward: 'l',
videoSpeedIncrease: 'shift > 》',
@ -11,13 +12,14 @@ export const presets: Record<typeof settings['keymapPreset'], Record<string, str
seekBegin: '0 Home',
},
HTML5Player: {
coin: '',
danmaku: '',
coin: 'shift c',
danmaku: 'shift d',
quickFavorite: 'ctrl shift s',
fullscreen: 'enter',
webFullscreen: 'shift enter',
pictureInPicture: 'shift p',
longJumpForward: 'ctrl arrowLeft',
longJumpBackward: 'ctrl arrowRight',
longJumpBackward: 'ctrl arrowLeft',
longJumpForward: 'ctrl arrowRight',
videoSpeedIncrease: 'c',
videoSpeedDecrease: 'x',
videoSpeedReset: 'z',
@ -26,12 +28,12 @@ export const presets: Record<typeof settings['keymapPreset'], Record<string, str
takeScreenshot: 'shift s',
},
PotPlayer: {
coin: '',
danmaku: '',
coin: 'shift c',
danmaku: 'shift d',
fullscreen: 'enter',
webFullscreen: '6',
longJumpForward: 'ctrl arrowLeft',
longJumpBackward: 'ctrl arrowRight',
longJumpBackward: 'ctrl arrowLeft',
longJumpForward: 'ctrl arrowRight',
videoSpeedIncrease: 'c',
videoSpeedDecrease: 'x',
videoSpeedReset: 'z',