More than game controller to IoT, will it possible for unity input system to support input from any type of sensor? Temperature or barcode scan for example
Yes, you’ll be able to create extensions for any sensor that isn’t supported out of the box. Also see the FAQ.
Thatls really cool! Are there any sample and guideline for custom extension like that yet?
Not as such. The system is still in early stages and many things might still change. But you can look at how the existing devices are written. Basically you can get input from anywhere and send it as events that you have your device process. For some custom sensors, you might get your data from existing available API, while for others you might have to also create a native plug-in to communicate with the sensors if it’s not using standardized interfaces.