Some sort of input management and appstates

Is it bad practice to commit more than one feature in a single commit if
they can be separated?