| 60 | } |
| 61 | |
| 62 | void DeleteContext(HContext context) |
| 63 | { |
| 64 | if (context->m_HidContext) |
| 65 | { |
| 66 | dmHID::SetGamepadConnectivityCallback(context->m_HidContext, 0, 0); |
| 67 | } |
| 68 | delete context; |
| 69 | } |
| 70 | |
| 71 | static void MapGamePad(Binding* binding, uint32_t gamepad_index, bool connected); |
| 72 |