This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Feature Updates
 Completed Requests
 [COMPLETE] Add global hotkey support
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kingron

39 Posts

Posted - 08/09/2012 :  23:34:54  Show Profile
I'd like to add hotkey support for each mouse gesture or action.

Because we support lua script, so if we support global hotkey, we could using hotkey to run some action without mouse gesture.

Rob

USA
2615 Posts

Posted - 08/10/2012 :  07:41:57  Show Profile  Visit Rob's Homepage
I think this is a good idea, but it will be a while until I get around to it.
Go to Top of Page

beholder

60 Posts

Posted - 08/16/2012 :  20:28:45  Show Profile
I second that. Coolest thing would be to add an "alternate key press" for each of our defined gestures. When the system detects the key pressed, it would "execute the gesture".

Edited by - beholder on 08/16/2012 20:30:16
Go to Top of Page

Rob

USA
2615 Posts

Posted - 08/17/2012 :  01:02:45  Show Profile  Visit Rob's Homepage
As I said, I think it's a great idea, but it's a dramatic shift in the current functionality, interface, and code base.

So while I'm leaving here as open, this one really will be a while down the road before it's added.
Go to Top of Page

Rob

USA
2615 Posts

Posted - 09/04/2012 :  08:47:33  Show Profile  Visit Rob's Homepage
So after attempting to integrate this into the existing functionality (associated directly with actions), I've run into many internal issues since the mouse isn't involved. The whole program is written to watch for gestures and modifiers, then pass those data into the Lua script. It's complicated to explain, but in the end adding hotkeys directly existing actions causes a lot of issues with which I'm not comfortable trying to force/hack/override it into place.

However, I think a new tab for hotkeys is a reasonable compromise. Sure, you may have some duplicated Lua, but it's not like people are going to have every single mouse action associated with a hotkey. Plus, this avoids putting this into the main program flow which really was an ugly mess and I don't want to disrupt the main purpose of S+.
Go to Top of Page

Kingron

39 Posts

Posted - 09/07/2012 :  11:11:28  Show Profile
Yeah, run action by hotkey can't get any mouse params and modifier params.
But IMO, most of gesture action just run simply actions, needn't the mouse/modifier params.

I only use gesture to run program, send "short cut key" to program, never use the mouse gesture params like gsx, gsy and so on.

Anyway, I can accept the "new tab" for hotkeys & actions.

Look forward it and hope it be done soon...

Edited by - Kingron on 09/07/2012 11:11:52
Go to Top of Page

Rob

USA
2615 Posts

Posted - 10/13/2012 :  21:37:15  Show Profile  Visit Rob's Homepage
Added global hotkey support in Beta 2.3.1.

It's a very simple addition with no bells and whistles, but gets the job done and ready to release as beta.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000