How to set hardware inputs?