Implement discrete input refreshing and input tribools