KISS icon indicating copy to clipboard operation
KISS copied to clipboard

Gestures customization

Open MF-Debug opened this issue 8 years ago • 24 comments

a dedicated option to customize the gestures to do different kinds of operations would be really good.

MF-Debug avatar Jun 01 '18 14:06 MF-Debug

I second that

SuperSaiyan11 avatar Jun 05 '18 11:06 SuperSaiyan11

What kind of options are you thinking about?

Neamar avatar Jun 05 '18 19:06 Neamar

like swipe right to bring up the app drawer, swiper left to bring up recents app list. also option to completely turn off the gestures would be good too.

MF-Debug avatar Jun 06 '18 05:06 MF-Debug

I like this idea. The most interesting gesture alternative to me would be showing all app (perhaps with swipe up) rather than keyboard. The search bar is easier to hit than the little green circle. And I don't always want to type something

mayorjcio avatar Jun 06 '18 15:06 mayorjcio

I'd like to be able to disable them independently too, I like the swipe up for the keyboard but I don't want the swipe down for notifications as I trigger it by accident all the time.

exadeci avatar Oct 13 '18 10:10 exadeci

Somewhat similar, yet different - I would like to be able to swipe away apps from the history. (If done a certain number of times, KISS Launcher could ask you if you would like to exclude it from history.)

contrapunctus-1 avatar Apr 08 '19 08:04 contrapunctus-1

You can also use swipe to execute installed apps. I used to swipe down to lock screen (instead of appear notifications), using lock app from f-droid. Really useful.

bazio101 avatar Apr 09 '19 08:04 bazio101

Hello! I've added a feature to disable the gestures.

Ideally, we should probably have four options to control what each gesture should do.... maybe in the future?

Looks like the possible options would be:

  • display keyboard
  • display notification
  • display app
  • display history
  • lock screen [can't be done for now, but should be doable in Android Q]

Any other idea?

Neamar avatar Apr 10 '19 19:04 Neamar

Thanks for working on this.

Another option could be to gesture:

  1. to open a url
  2. search app tag (like gesture up to see all apps labeled as games)

I would love to just be able to launch an app, though. Swipe up to turn on my flashlight would be so cool.

edit: I assume you mean "launch app" and not just "display app"?

esmoak avatar Apr 22 '19 23:04 esmoak

Hey everyone, I would like to work on this, any tips on where to start? thanks ;)

dglttr avatar Aug 08 '19 05:08 dglttr

Nice :) Sure!

Most of the code handling gestures is here: https://github.com/Neamar/KISS/blob/f61c16415f2071f3069be7e78de57e1c415706fc/app/src/main/java/fr/neamar/kiss/forwarder/ExperienceTweaks.java#L91-L109

I assume what you'd want to build is a list of available actions when you do a gesture. Then in the settings, you can add two new settings "When swiping up" and "When swiping down", and display a list of all the actions that you want to support :) Preference file is here: https://github.com/Neamar/KISS/blob/f61c16415f2071f3069be7e78de57e1c415706fc/app/src/main/res/xml/preferences.xml it's an XML file. If you want the list of action to be fixed, you can use an XML array and a ListPreference.

That's a pretty high level overview, if you need more details feel free to ask!

Neamar avatar Aug 09 '19 08:08 Neamar

Wouldn't it be nice to have a back button and home button gesture? If we are in minimalistic mode and turned on Show history on touch then the first back button and home button press will quit the history. Then press again for the gesture action. I would like to have a full screen widget on the screen. But currently it interferes with the gestures. I can't see the history then. So the idea is that i can assign a back button gesture to show history and a home button gesture for search.

ghost avatar Oct 10 '19 17:10 ghost

Anything on the gesture navigation of Android 10?

abhijithvijayan avatar Jan 09 '20 17:01 abhijithvijayan

@abhijithvijayan do you have something in mind?

Neamar avatar Jan 09 '20 18:01 Neamar

@Neamar New updates enable using gesture navigation with 3rd party apps as well.

I tested the current version of KISS with that feature and it said the feature was not supported by KISS Launcher.

abhijithvijayan avatar Jan 09 '20 18:01 abhijithvijayan

@abhijithvijayan gestures are system wide they just work, you actually mean something else like the recents thing where you have icons too?

licaon-kter avatar Jan 09 '20 18:01 licaon-kter

The Android 10 gesture navbar works with KISS on my Pixel device but not on my Galaxy S10. It works with One UI launcher, just on kiss. Any ideas?

--Jensen


From: Licaon_Kter [email protected] Sent: Thursday, January 9, 2020 12:57:46 PM To: Neamar/KISS [email protected] Cc: mayorjcio [email protected]; Comment [email protected] Subject: Re: [Neamar/KISS] Gestures customization (#1009)

@abhijithvijayanhttps://github.com/abhijithvijayan gesturesmare system wide they just worj, you actually mean something else like the recents thing where you have icons too?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Neamar/KISS/issues/1009?email_source=notifications&email_token=ADNHJI3BISAOSZYBVZ3HM5TQ45XSVA5CNFSM4FC3IZ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRMLIQ#issuecomment-572704162, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADNHJIZNNI65FUI7S2DLNG3Q45XSVANCNFSM4FC3IZ5Q.

mayorjcio avatar Jan 12 '20 17:01 mayorjcio

I am sticking with default launcher until KISS is able to use the gesture navigation provided by Android 10 on Android One devices.

abhijithvijayan avatar Jan 12 '20 18:01 abhijithvijayan

For what it's worth it also works on my Pixel 3XL. It's buggy as fuck, but it works. I guess it's just a higher android version (https://help.teslacoilapps.com/faq/gesture-navigation)

saveman71 avatar Jan 13 '20 10:01 saveman71

If anyone has a link with some documentation on the feature? Might just be a flag to enable in the manifest.

Neamar avatar Jan 14 '20 17:01 Neamar