Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
julianlaab's avatar
julianlaab
Honored Guest
10 months ago

Using Tracked Keyboard and Virtual Keyboard (Is Keyboard Connected)

I'm trying to setup a Tracked Keyboard with a Virtual Keyboard as a backup if no tracked keyboard is connected via bluetooth. I don't care if the physical keyboard is actually tracked, only if it is connected via bluetooth or not. How do I figure out if a tracked keyboard is connected in code? As a workaround I'm using

Keyboard.current.description.ToString()

 but this will only work with my specific keyboard model. 

I'm using Unity with SDK V72.0.

Replies have been turned off for this discussion