Update key and button press functions with Key and Button types
Added animation mixing