strongly typed inputstate enum