diff options
author | NedScott <ned@nedscott.com> | 2015-09-22 14:48:23 -0700 |
---|---|---|
committer | Ned Scott <ned@nedscott.com> | 2015-10-15 09:57:47 -0700 |
commit | fb976ceeaf258d4778e0e379bd09d41882fc7948 (patch) | |
tree | 7bfd92e0bc843a3bae0e18740ae542ec9e87efb4 | |
parent | 498ec346bb11414c3c767b82ba041b15cc48e572 (diff) |
New touchscreen keymap
Some improvements to the default touchscreen keymap. Note that three finger tap and three finger swipe are iOS only at the moment.
-rw-r--r-- | system/keymaps/touchscreen.xml | 64 |
1 files changed, 56 insertions, 8 deletions
diff --git a/system/keymaps/touchscreen.xml b/system/keymaps/touchscreen.xml index 576fb273bd..4d16457c2a 100644 --- a/system/keymaps/touchscreen.xml +++ b/system/keymaps/touchscreen.xml @@ -11,8 +11,17 @@ <swipe direction="right">SwipeRight</swipe> <swipe direction="up">SwipeUp</swipe> <swipe direction="down">SwipeDown</swipe> + <swipe direction="up" pointers="3">SwitchPlayer</swipe> + <swipe direction="down" pointers="3">ActivateWindow(PlayerControls)</swipe> </touch> </global> + <MyFiles> + <touch> + <tap>Select</tap> + <swipe direction="left">Highlight</swipe> + <swipe direction="right">Highlight</swipe> + </touch> + </MyFiles> <FullScreenVideo> <touch> <swipe direction="left">StepBack</swipe> @@ -20,29 +29,39 @@ <swipe direction="up">ChapterOrBigStepForward</swipe> <swipe direction="down">ChapterOrBigStepBack</swipe> <swipe direction="left" pointers="2">Seek(-7)</swipe> + <swipe direction="up" pointers="2">SkipNext</swipe> + <swipe direction="down" pointers="2">SkipPrevious</swipe> + <tap pointers="2">Playlist</tap> + <tap pointers="3">PlayPause</tap> </touch> </FullScreenVideo> + <PlayerControls> + <touch> + <swipe direction="down" pointers="3">Back</swipe> + </touch> + </PlayerControls> <Visualisation> <touch> <swipe direction="left">StepBack</swipe> <swipe direction="right">StepForward</swipe> <swipe direction="up">SkipNext</swipe> <swipe direction="down">SkipPrevious</swipe> + <swipe direction="up" pointers="2">SkipNext</swipe> + <swipe direction="down" pointers="2">SkipPrevious</swipe> + <tap pointers="2">Playlist</tap> + <tap pointers="3">PlayPause</tap> </touch> </Visualisation> <SlideShow> <touch> <zoom>ZoomGesture</zoom> <rotate>RotateGesture</rotate> + <swipe direction="right" pointers="2">PreviousPicture</swipe> <!-- right/left are flipped here to make picture flipping feel more natural on touch screens. Two pointers are used in order to avoid conflicting with the panning gesture on zoomed-in images. --> + <swipe direction="left" pointers="2">NextPicture</swipe> + <tap pointers="2">Pause</tap> + <tap pointers="3">Info</tap> </touch> </SlideShow> - <MyFiles> - <touch> - <tap>Select</tap> - <swipe direction="left">Highlight</swipe> - <swipe direction="right">Highlight</swipe> - </touch> - </MyFiles> <ScreenCalibration> <touch> <swipe direction="up">Up</swipe> @@ -52,4 +71,33 @@ <tap pointers="1">NextCalibration</tap> </touch> </ScreenCalibration> -</keymap> + <VideoMenu> + <touch> + <swipe direction="up" pointers="2">SkipNext</swipe> + <swipe direction="down" pointers="2">SkipPrevious</swipe> + </touch> + </VideoMenu> + <ContextMenu> + <touch> + <swipe direction="left" pointers="3">Back</swipe> <!-- backs out of "switch player" --> + <swipe direction="right" pointers="3">Back</swipe> + </touch> + </ContextMenu> + <PictureInfo> + <touch> + <tap pointers="3">Back</tap> + </touch> + </PictureInfo> + <FullScreenLiveTV> + <touch> + <swipe direction="up">Up</swipe> + <swipe direction="down">Down</swipe> + </touch> + </FullScreenLiveTV> + <FullScreenRadio> + <touch> + <swipe direction="up">ChannelUp</swipe> + <swipe direction="down">ChannelDown</swipe> + </touch> + </FullScreenRadio> +</keymap>
\ No newline at end of file |