setKeyState

fun setKeyState(keyCode: Int, mods: Int, scanCode: Int, isDown: Boolean): Boolean(source)