Skip to content

Commit

Permalink
xrEngine: fix mouse keys names
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Jul 22, 2018
1 parent 0be004e commit 786d760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrEngine/xr_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ bool CInput::get_key_name(int dik, LPSTR dest_str, int dest_sz)
}
xr_strcpy(dest_str, dest_sz, keyname);
}
else
xr_sprintf(dest_str, dest_sz, "MOUSE%d", dik - SDL_NUM_SCANCODES);

return true;
}
Expand Down

0 comments on commit 786d760

Please sign in to comment.