| 256 | } |
| 257 | |
| 258 | void DefaultConflict() |
| 259 | { |
| 260 | for (const auto& actionIDGroup : ACTION_ID_GROUPS) |
| 261 | { |
| 262 | for (auto actionID : actionIDGroup) |
| 263 | { |
| 264 | g_Bindings.SetConflict(actionID, false); |
| 265 | |
| 266 | int key = g_Bindings.GetBoundKeyID(BindingProfileID::Default, actionID); |
| 267 | for (auto conflictActionID : actionIDGroup) |
| 268 | { |
| 269 | if (key != g_Bindings.GetBoundKeyID(BindingProfileID::Custom, conflictActionID)) |
| 270 | continue; |
| 271 | |
| 272 | g_Bindings.SetConflict(actionID, true); |
| 273 | break; |
| 274 | } |
| 275 | } |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | static void SetDiscreteAxisValues(unsigned int keyID) |
| 280 | { |
no test coverage detected