Thread: Stylus Right Click
-
December 15th, 2020, 10:59 #1
Stylus Right Click
I have a tablet PC I'm running FG on. The stylus is configured so when you hover over something and click the stylus button it does a right click. It works fine in FGC but in Unity it doesn't work. Any ideas? I know it's kind of a weird use case but I thought I'd ask.
Windows 10 Pro with the latest FGU update.
-
December 15th, 2020, 14:50 #2bmos' extensions
he/them
-
December 15th, 2020, 15:01 #3
- Join Date
- Aug 2019
- Posts
- 2,025
You could try to use AutoHotKey to capture the stylus right-click and then have AHK resend right-click to FG. I know that the latter works, because I used it for my right-click scroll/pointers AHK script. So if AHK can capture the stylus it should work.
The simplest AHK script version would really just:
RButton:: Mouseclick, RightLast edited by Weissrolf; December 15th, 2020 at 15:03.
-
December 15th, 2020, 15:06 #4bmos' extensions
he/them
-
September 24th, 2021, 13:08 #5
- Join Date
- Jul 2016
- Posts
- 40
It used to work in earlier Unity versions of FGU, but now it appears broken. Any update on this, I'm using a Surface Book for table play and would love for right-click to work without some extensive workaround.
-
September 24th, 2021, 16:03 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,539
We haven't changed anything in the way that FG handles right click behaviors for a year now; so not sure what is causing it or when it changed for you exactly. This is something that is virtualized from our application's point of view; and we just checked for button up/down.
When you say that it worked in earlier Unity versions of FGU, when was that exactly?
Regards,
JPG
-
September 24th, 2021, 16:06 #7
- Join Date
- Jul 2016
- Posts
- 40
Sorry, I might just be miss remembering, it was pretty long ago to be fair and I might've been mixing play between FGC (in which it still works) and FGU back then, stylus input is registered and the animations appear for it registering in Windows but not in FGU gives no menu. Using the touchpad feature is a workaround I suppose, I'd rather see it natively working!
-
September 24th, 2021, 16:08 #8
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,539
Unfortunately, we are running in a cross-platform game engine called Unity which controls all input routines, so it's not something we have direct access to. From a quick search online, I see at least one Wacom stylus report that is still ongoing for the Unity engine. We are currently running Unity 2020 LTS engine.
Regards,
JPG
-
September 24th, 2021, 16:16 #9
- Join Date
- Jul 2016
- Posts
- 40
For what its worth, it works in Shadowrun Returns, Dragonfall and Hong Kong. They're all based on unity. I have a Surface Book 2 and use a Surface Pen 3.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks