webOS Nation Forums >  Homebrew >  webOS Patches > [PATCH] Custom Browser Gestures - Touchpad
[PATCH] Custom Browser Gestures - Touchpad
  Reply
Like Tree16Likes

 
Thread Tools Display Modes
Old 09/23/2011, 04:50 PM   #1 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
* If you have any problems with this patch, please carefully read the Known Patch Conflicts and Issues section below. *

This patch enables 12 configurable gesture areas. You can reconfigure the action for each gesture in Tweaks. The gestures activate by swiping in from the screen edges. Gestures assigned to the top of the screen will only activate in fullscreen mode. A visual overlay option highlights each gesture quadrant.

Current Supported Gestures
  • Back
  • Forward
  • New Card
  • Bookmarks
  • History
  • Refresh
  • Toggle Fullscreen
  • Toggle Action Bar
  • Disable

Planned Supported Actions (if anyone knows how to add any of these please PM me)
  • Jump to Top of Page
  • Jump to Bottom of Page

This patch is compatible with the Touchpad and webOS 3.0.4. The older 3.0.2 version will remain in the feed.

Known Patch Conflicts and Issues:
If it won't install, uninstall any patches that modify the browser and try again. At this time, no efforts have been made to make this patch compatible with others.

If the "tweaks" app gives you error when you toggle "enable overlay", disregard it, it should work anyways. I talked with Sconix about this, the error basically means your touchpad is too fast

Changelog
2011-11-08:
- improved fullscreen mode, the progress bar will now remain visible. thanks knownboyofno!
2011-10-31:
-improved the handling of the back gesture, it should no longer be possible to activate the back gesture when there is nothing to go back too. So no more accidental gestures that take you back to the browser "start page".
2011-10-22:
-improved the visibility of the gesture overlay option.

2011-10-21:
- added 12 total gesture areas (4 on each side, and 4 on top)
- added Toggle Action Bar gesture (Similar to fullscreen gesture)
- added New Card gesture
- added History gesture
- added visual overlay option

2011-09-24:
- Added fullscreen toggle gesture
- Added the ability to disable a gesture.

2011-09-23:
- A bug has been squashed where the back gesture wouldn't work if you set it to the top left quadrant.


Big thanks to Garrett92C, without his patches, this one wouldn't exist.

Help support the wonderful webos homebrew community and consider a donation!:
donate to Garrett92C
donate to Nightburn
Attached Images
File Type: png tweaks_2011-23-09_143648.png (82.7 KB, 264 views) Email Attachment

Last edited by Nightburn; 11/08/2011 at 08:53 PM.
Nightburn is offline   Reply With Quote
Liked by lemongrass, Ubuntite, netwrkr9 and 8 others like this.
Old 09/23/2011, 05:58 PM   #2 (permalink)
Member
 
Posts: 552
This is awesome. Great implementation.

I would love to see these gestures implemented globally to perform system-wide functions. Any chance you could comment on the possibility of what I described in the post below:

http://forums.precentral.net/hp-touc...ml#post3164600
huladaddy is offline   Reply With Quote
Old 09/23/2011, 06:06 PM   #3 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
It just popped up in Preware, go get it!
Nightburn is offline   Reply With Quote
Old 09/23/2011, 06:16 PM   #4 (permalink)
Member
 
shadavis08's Avatar
 
Posts: 9,321
kool ! good patch
__________________
ĦṔ-Ḷṫ-Ŧḯη
Here is a direct link to webOS Doc for all carriers
http://www.webos-internals.org/wiki/...octor_Versions
P.S. if i have helped you and you are thankful please hit the thanks button to the right---->
shadavis08 is offline   Reply With Quote
Old 09/23/2011, 11:35 PM   #5 (permalink)
Member
 
Posts: 185
liking this one! Nice work
cdjh is offline   Reply With Quote
Old 09/24/2011, 12:56 AM   #6 (permalink)
Member
 
Posts: 24
I can't seem to be able to use "back" as my top left swipe gesture? Every other combination works for me except that. Multiple restarts, changing settings - that's the only one that won't take. Anyone else seeing this?
jdworsky is offline   Reply With Quote
Old 09/24/2011, 01:06 AM   #7 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
Quote:
Originally Posted by jdworsky View Post
I can't seem to be able to use "back" as my top left swipe gesture? Every other combination works for me except that. Multiple restarts, changing settings - that's the only one that won't take. Anyone else seeing this?
yea, I found that bug after I had already submitted it to Preware. I'll be releasing an update soon.
Nightburn is offline   Reply With Quote
Old 09/24/2011, 01:34 AM   #8 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
Quote:
Originally Posted by jdworsky View Post
I can't seem to be able to use "back" as my top left swipe gesture? Every other combination works for me except that. Multiple restarts, changing settings - that's the only one that won't take. Anyone else seeing this?
I have submitted the patch update to the Preware feeds.
Nightburn is offline   Reply With Quote
Old 09/24/2011, 03:16 AM   #9 (permalink)
Member
 
mc_gusto's Avatar
 
Posts: 466
love this patch
__________________
SWW for 1.4.5
mc_gusto is offline   Reply With Quote
Old 09/24/2011, 05:07 AM   #10 (permalink)
Member
 
Posts: 336
Can we install this from the browser?
I get a response "2 of 3 hunks failed" see ipk log.
gergev is offline   Reply With Quote
Old 09/24/2011, 07:11 AM   #11 (permalink)
Pix
Member
 
Posts: 16
nice patch, it works very well !
howewer, it could be improved with two small things more:

1) add the blinking of the arrow buttons while the "back" or the "forward" swipe is catched
2) add a tweaks option to reverse the swipe gestures: instead of a movement from outside the screen to inside, an inside-to-outside one

Anyway, good job!
Pix is offline   Reply With Quote
Old 09/24/2011, 07:12 AM   #12 (permalink)
Homebrew Developer

 
Posts: 3,297
Not working here. *Uninstalled prior patch before installing, this one installed without error, but nothing happening at all when I swipe in from anywhere

-- Sent from my HP TouchPad using Communities
__________________
Author:
Remove Messaging Beeps patch for webOS 3.0.5, Left/Right bezel gestures in LunaCE,
Whazaa! Messenger and node-wa, SynerGV 1 and 2 - Google Voice integration, XO - Subsonic Commander media streamer, AB:S Launcher
Quote:
(1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
GO OPEN WEBOS!
People asked me for a donate link for my non-catalog work, so here you are:
eblade is online now   Reply With Quote
Old 09/24/2011, 07:13 AM   #13 (permalink)
Member
 
Posts: 4
Quote:
Originally Posted by Nightburn View Post
This patch enables 4 configurable gesture areas. You can reconfigure the action for each gesture in Tweaks.

The gestures activate by swiping in from the top and bottom halfs of the screen edges.

Current Supported Actions:
  • Back
  • Forward
  • Bookmarks
  • Refresh
Planned Supported Actions
  • Jump to Top of Page
  • Jump to Bottom of Page
  • History

This patch is only compatible with the Touchpad and webOS 3.0.2

Known Patch Conflicts:
  • Powerswipe
  • Simple Browser Gestures
  • Add ThumbNav Controls

Changelog

3.0.2-32
- A bug has been squashed where the back gesture wouldn't work if you set it to the top left quadrant.

3.0.2-30
- Initial Release


Big thanks to Garrett92C, without his patches, this one wouldn't exist.

The patch is now available in Preware. Go GET IT!

Help support the wonderful webos homebrew community and consider a donation!:
donate to Garrett92C
donate to Nightburn
You rock.

I hope touchpad users see this thread.
coluccim is offline   Reply With Quote
Thanked By: Nightburn
Old 09/24/2011, 08:04 AM   #14 (permalink)
Member
 
Posts: 6
This is what the touchpad should have included as a default behavior. Awesome tweak, thanks!
rhepungus is offline   Reply With Quote
Old 09/24/2011, 10:39 AM   #15 (permalink)
Member
 
dostie1's Avatar
 
Posts: 5
Quote:
Originally Posted by gergev View Post
Can we install this from the browser?
I get a response "2 of 3 hunks failed" see ipk log.
Chances are you have a patch installed that is conflicting. Look above at known patch conflicts. Check your installed patches and uninstall the conflicting patches, restart, then try this patch again.
dostie1 is offline   Reply With Quote
Old 09/24/2011, 10:46 AM   #16 (permalink)
Member
 
dostie1's Avatar
 
Posts: 5
Quote:
Originally Posted by eblade View Post
Not working here. *Uninstalled prior patch before installing, this one installed without error, but nothing happening at all when I swipe in from anywhere

-- Sent from my HP TouchPad using Communities
You can set up this patch using the Tweaks App. It can be found in preware apps. Tweaks works with some other apps to give you a bit more customization too.
dostie1 is offline   Reply With Quote
Old 09/24/2011, 12:14 PM   #17 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
Quote:
Originally Posted by eblade View Post
Not working here. *Uninstalled prior patch before installing, this one installed without error, but nothing happening at all when I swipe in from anywhere

-- Sent from my HP TouchPad using Communities

You probably need to install and open Tweaks.
Nightburn is offline   Reply With Quote
Old 09/24/2011, 12:40 PM   #18 (permalink)
Member
 
Nightburn's Avatar
 
Posts: 468
Quote:
Originally Posted by Pix View Post
nice patch, it works very well !
howewer, it could be improved with two small things more:

1) add the blinking of the arrow buttons while the "back" or the "forward" swipe is catched
2) add a tweaks option to reverse the swipe gestures: instead of a movement from outside the screen to inside, an inside-to-outside one

Anyway, good job!
1. Good idea, I'll look into it
2. This may seem like a small request but it's not. The gesture areas are simply 7px wide transparent boxes aligned to the edge of screen, they do not detect movement, they only detect being touched. To accurately calculate swipe movement, the gesture boxes would need to be greatly enlarged, at least 50 pixels wide. And if they were that wide, you would run into situations where you can't click any links underneath them. I appreciate the suggestion but this one is probably not happening.
Nightburn is offline   Reply With Quote
Old 09/24/2011, 01:38 PM   #19 (permalink)
Homebrew Developer

 
Posts: 3,297
Quote:
You probably need to install and open Tweaks.
looks like running tweaks did it tyvm


-- Sent from my HP TouchPad using Communities
__________________
Author:
Remove Messaging Beeps patch for webOS 3.0.5, Left/Right bezel gestures in LunaCE,
Whazaa! Messenger and node-wa, SynerGV 1 and 2 - Google Voice integration, XO - Subsonic Commander media streamer, AB:S Launcher
Quote:
(1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
GO OPEN WEBOS!
People asked me for a donate link for my non-catalog work, so here you are:
eblade is online now   Reply With Quote
Old 09/24/2011, 04:35 PM   #20 (permalink)
Member
 
Posts: 24
This updates fixes my issue beautifully! This has vaulted to the top of my "most used" patches. Thanks.
jdworsky is offline   Reply With Quote
Liked by w0z likes this.
Reply

 

Tags
browser, gestures, touchpad

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0