| 38 | } |
| 39 | |
| 40 | HContext NewContext(const NewContextParams& params) |
| 41 | { |
| 42 | HContext context = new Context(); |
| 43 | context->m_IgnoreMouse = params.m_IgnoreMouse; |
| 44 | context->m_IgnoreKeyboard = params.m_IgnoreKeyboard; |
| 45 | context->m_IgnoreGamepads = params.m_IgnoreGamepads; |
| 46 | context->m_IgnoreTouchDevice = params.m_IgnoreTouchDevice; |
| 47 | context->m_IgnoreAcceleration = params.m_IgnoreAcceleration; |
| 48 | context->m_FlipScrollDirection = params.m_FlipScrollDirection; |
| 49 | return context; |
| 50 | } |
| 51 | |
| 52 | void SetGamepadConnectivityCallback(HContext context, FHIDGamepadFunc callback, void* callback_ctx) |
| 53 | { |
no outgoing calls