Getting a stylus to work with Rimworld?

Started by idle, November 06, 2016, 11:25:42 AM

Previous topic - Next topic

idle

Hello. :) I am trying to play Rimworld with a wacom tablet, but the game won't recognize hitting the tablet as a mouse click as it would on the desktop. Moving the cursor around works fine. Is there a way to get this working?

For the curious, I have wrist issues that prevent me from using a mouse, and I have gotten used to playing games with a pen instead. If I can't get this working I probably won't be able to play at all.

Thanks :)

skullywag

The update to unity 5 broke this, much to my annoyance, sorry, nothing Tynan can do. It worked fine in Unity 4. I was the same as you I hate using my surface to play now whereas I used to love it and was waaaaaay better than using a mouse.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

idle

Hello, I just wanted to let you and anyone else with this issue know that I found a solution (at least for me). Disabling the "Windows Ink" option in the wacom driver options worked for me. : )

skullywag

ah ok yes for wacomm users that does indeed work, annoyingly it doesnt for surface users.... :(
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

nccvoyager

#4
Just by the way, skullywag.
I'm unsure how it would be done, or if the inputs can be captured properly or not, but it may be possible to create a macro setup outside of RimWorld in order to capture "stylus clicks" and convert them into "mouse clicks" instead.
Again, I have no idea how it would be done, and I don't use a stylus or tablet, but it may be possible.

Edit: Of course, you would probably need to use some third-party software, thereby reducing the effectiveness of the device.
In addition, there would probably be a tiny (but probably noticeable) delay between the stylus "click" and the "mouse click" being created.
..And I don't even know if any macro-recording/executing software can trigger/record stylus "clicks" anyways.

milon

There "should" be a way to capture that through windows API, but I don't know the details and can't find it just now.

nccvoyager

#6
Well, glossing over a few MSDN articles, it seems that Stylus input can only be captured by the foreground window, and that it cannot be relayed to a secondary application window.
"For security purposes" of course.

Edit: This is not to say that it is impossible, just that it is not "supported" behaviour.

Another edit: The Surface 1 and 2, as well of the Surface Pro 1 and 2, used a Wacom stylus, while the Surface 3, Surface Pro 3, and subsequent models including the Surface Book, all use an N-trig stylus.
It also seems that there was an update to the software running the interpretation of the Stylus that forced every N-trig stylus into Ink mode for all applications that did not tell it to work in "precise selection" mode.