onActive

abstract fun onActive(code: Int)

键盘按下时触发

onPressed 不同的是,该函数在每次事件循环中都会触发

同时,该事件会在 onPressed 之后触发