| 180 | //------------------------------------------------------------------------------ |
| 181 | |
| 182 | void Input::activate() |
| 183 | { |
| 184 | #ifdef UNICODE |
| 185 | //winState.imeHandle = ImmGetContext( getWin32WindowHandle() ); |
| 186 | //ImmReleaseContext( getWin32WindowHandle(), winState.imeHandle ); |
| 187 | #endif |
| 188 | |
| 189 | if ( !Con::getBoolVariable( "$enableDirectInput" ) ) |
| 190 | return; |
| 191 | |
| 192 | if ( smManager && smManager->isEnabled() && !smActive ) |
| 193 | { |
| 194 | Con::printf( "Activating Input..." ); |
| 195 | smActive = true; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | //------------------------------------------------------------------------------ |
| 200 | void Input::deactivate() |
nothing calls this directly
no test coverage detected