| 222 | } |
| 223 | |
| 224 | static bool TestBoundKey(int keyID) |
| 225 | { |
| 226 | for (int i = 1; i >= 0; i--) |
| 227 | { |
| 228 | auto profileID = (BindingProfileID)i; |
| 229 | for (int j = 0; j < (int)ActionID::Count; j++) |
| 230 | { |
| 231 | auto actionID = (ActionID)j; |
| 232 | if (g_Bindings.GetBoundKeyID(profileID, actionID) == keyID) |
| 233 | return true; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | return false; |
| 238 | } |
| 239 | |
| 240 | // Merge right and left Ctrl, Shift, and Alt keys. |
| 241 | static int WrapSimilarKeys(int source) |
no test coverage detected