Help Test Platform Detection

Worked fine for me on PC. My laptop is touchscreen as well.

I also tried on on android (Samsung Note 10) and it said Android Phone.

All was fine with mine! :+1:

1 Like

Works fine for me. I have a touchscreen laptop and it said PC.

Oops, sorry for the late reply. Here’s a video:


You can clearly see my finger tapping nonstop.

That’s so strange. I don’t know how else to detect that if UIS.TouchEnabled isn’t registering it…

Hey boatbomber,
It worked! It correctly identified my PC computer.

It’s very interesting how you can do platform detection, I would never know how…

Can confirm it works great on Pixel 4 XL, picked up Android. Broke it by turning off my phone’s sensors, but somehow don’t see this being an issue lol

It did, however, pick up my HP Chromebook as a touchscreen PC, which in this instance, it is not.

2 Likes

I- huh. I have to figure out how I’ve managed to fail the touchscreen PC platform so badly… this is so strange.

2 Likes

If it’s of any help, Chromebooks run the Android version of Roblox. I guess this is more of a challenge as you still need to be able to detect whether it’s a touchscreen Chromebook or not, without picking it up as Android.

At least the bloody cursor didn’t fail to load in your game like in all the rest

I’ve just tested it in studio and I don’t think that UIS.TouchEnabled works for touchscreen. But it does still register TouchTap.
I’m using a Windows HP computer.

1 Like

Thanks for your help everyone. I’m going to pause for the night and pick this up again in the morning, I’m super burned out after this long day.

I’m sure we can get this working!

5 Likes

These threads might interest you:

https://devforum.roblox.com/t/players-with-touchscreen-computers-cannot-play-my-game-as-it-shows-it-as-not-available-on-their-platform/34869

And for this thread:
https://devforum.roblox.com/t/touchenabled-and-laptops/10261

It stated that it doesn’t work for touchscreen laptops?

joined on a MacBook Air, game correctly guessed PC (close enough)

Tried a 2nd time. Supposedly an unknown tablet now.

open source when :eyes:

This seems like a great module, but I fail to understand why it would be needed. ROBLOX already provides the needed APIs to determine the type of input a user is giving. What would the ability to detect the platform of a player help with?

Note: I’m just curious on how this module may possibly benefit me, and am not trying to be rude in any way.

Since I’m having an issue currently with Windows 10 acting odd, I decided to test the normal version which I heard only detects PC and not mobile? Then tested it on Windows 10, seems odd but works I think?

PC (Normal Desktop)

https://gyazo.com/9379abfee9bce68d9c383b46ce4ead0d

Windows 10 Roblox

https://gyazo.com/9558653284f5fb476e189b40420e7e91

1 Like

I’m on a Mac BookPro …

It said, “PC”

I am on an Apple phone and it said apple phone. Can’t wait to see this open source!

I added some GUIs to expose the data so I can better see why things are going wrong. This will help me figure out the cause of the issues.

If you had incorrect detection, please go again and post the screenshot so I can have this new detailed insight!

cc: @VegetationBush @ClockworkSquirrel