isUsingKeyboardAndMouse
IS_USING_KEYBOARD_AND_MOUSE0xA571D46727E2B718The GTA V native IS_USING_KEYBOARD_AND_MOUSE of the PAD namespace, as LS:MP client scripts call it: the global function isUsingKeyboardAndMouse, in JavaScript and in Lua.
isUsingKeyboardAndMouse(control: number): booleanisUsingKeyboardAndMouse(control: integer): booleanUsage
JavaScript
const result = isUsingKeyboardAndMouse(control);Lua
local result = isUsingKeyboardAndMouse(control)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
control | int | number | integer | unused parameter |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Controls PAD
- In the game
BOOL IS_USING_KEYBOARD_AND_MOUSE(int control)- Hash
0xA571D46727E2B718- Formerly
_GET_LAST_INPUT_METHOD_IS_INPUT_DISABLED_IS_USING_KEYBOARD