Author |
Topic |
|
Kingron
39 Posts |
Posted - 08/09/2012 : 23:34:54
|
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
|
I think this is a good idea, but it will be a while until I get around to it. |
|
|
beholder
60 Posts |
Posted - 08/16/2012 : 20:28:45
|
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 |
|
|
Rob
USA
2615 Posts |
Posted - 08/17/2012 : 01:02:45
|
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. |
|
|
Rob
USA
2615 Posts |
Posted - 09/04/2012 : 08:47:33
|
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+. |
|
|
Kingron
39 Posts |
Posted - 09/07/2012 : 11:11:28
|
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 |
|
|
Rob
USA
2615 Posts |
Posted - 10/13/2012 : 21:37:15
|
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. |
|
|
|
Topic |
|
|
|