Remove RMB as a default cancel key. We'll let the user bind it to cancel manually.

This commit is contained in:
The Dax committed 2013-08-22 12:38:04 -04:00
1 parent 57ab8aa611
commit 0c249f0084
1 file changed
+4 -1
+4 -1
View File
@@ -222,11 +222,14 @@ void UpdateConfirmCancelKeys() {
cancelKeys.push_back((keycode_t)i->keyCode);
}
// Push several hard-coded keys before submitting to native.
if(std::find(cancelKeys.begin(), cancelKeys.end(), NKCODE_ENTER) == cancelKeys.end())
confirmKeys.push_back(NKCODE_ENTER);
const keycode_t hardcodedCancelKeys[] = {
NKCODE_SPACE,
NKCODE_ESCAPE,
NKCODE_BACK,
NKCODE_EXT_MOUSEBUTTON_2
};
// If they're not already bound, add them in.