Added separate actions for button down and up events#23
Added separate actions for button down and up events#23jnkb wants to merge 2 commits intoMartenfur:developfrom
Conversation
|
It's fucked up because you used spaces instead of tabs. Switch to tabs and format everything properly I'm not gonna merge it like that. |
|
What's the point of this feature anyway? If, for example, the shift is pressed only when the button is pressed, you can't do anything else. For continious pressing toggle buttons exist. |
|
It only makes sense if you use it together with a stylus. This button here is working on my surface: Regarding indentation, if the visual studio default settings are not used, an .editorconfig file would be useful. |
|
jnkb |
|
Agree with @jnkb , press & hold function is essential especially for tablet devices with touch + pen/stylus. In my case I need a button that works like a normal Ctrl on keyboard that can be press & hold. In file explorer and most graphic & audio software, holding Ctrl then right click enables select/deselect multiple things. At the moment "toggle" works, but "press & hold" would be better to mimic normal keyboard and even drawing tablet like Wacom that have press & hold function by default. I hope @Martenfur would merge it soon, I'm making layouts for Affinity, Ableton & Quickbooks that will use press & hold function and will share it here once the commits applied to the official release. |
|
Wanted to add my +1 for this feature! This would make TabletFriend indispensable to my workflow. |
(No idea why the diff here is messed up by tabs ... e.g. in UiFactory.cs I only made changes starting at line 265....)