View Issue Details

IDProjectCategoryLast Update
0019035AI War 2Gameplay IssueJul 31, 2017 6:48 pm
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version0.109 Special Forces And Modding 
Summary0019035: Touches on buttons not registered on in game on microsoft surface pro 4.
DescriptionInterestingly, touching with my finger mostly works, but touching with the pen does not. Clicking with the trackpad works just fine.

Also of note, when I'm using the in-game controls like drag-select, left click units, right-click to tell units to go somewhere, etc, all of those things work perfectly with the pen and my finger.

So to me that's saying that the buttons are set, at present, to only register certain kinds of "mouse clicks," which in reality can be other various sorts of touches or similar acting as a virtual mouse. It's probably checking in the button itself to say "if this is the left mouse button," and basically we should not do that because of these sorts of cases.

The game plays wonderfully on the Surface other than this, by the way -- we had a player ask about it, and it's awesome. :) So this tiny bit of compatibility is a big win.
TagsNo tags attached.

Activities

keith.lamothe

Mar 13, 2017 3:12 pm

administrator   ~0045969

Yea, I think the input fields that are populated by unity are radically different for touches per se. I can try to get it to rope those in to the main mouse handling, but I won't be able to test it myself.

Chris_McElligottPark

Jul 31, 2017 6:48 pm

administrator   ~0046398

So, this is just the default behavior in unity, period, and not something I can override right now. Coming up in 2017.2 betas they are working on an all-new input system which will hopefully allow working around this.

Issue History

Date Modified Username Field Change
Mar 10, 2017 5:22 pm Chris_McElligottPark New Issue
Mar 10, 2017 5:22 pm Chris_McElligottPark Status new => assigned
Mar 10, 2017 5:22 pm Chris_McElligottPark Assigned To => keith.lamothe
Mar 13, 2017 3:12 pm keith.lamothe Note Added: 0045969
Jun 19, 2017 8:25 pm Chris_McElligottPark Assigned To keith.lamothe => Chris_McElligottPark
Jul 31, 2017 6:48 pm Chris_McElligottPark Status assigned => closed
Jul 31, 2017 6:48 pm Chris_McElligottPark Resolution open => not fixable
Jul 31, 2017 6:48 pm Chris_McElligottPark Note Added: 0046398