skrypton-api / com.waicool20.skrypton.enums / KeyEventType / getForId

getForId

fun getForId(id: Int): KeyEventType

Finds a KeyEventType with the given id.

Parameters

id - The numerical ID of the event.

Exceptions

IllegalStateException - If no event with the requested ID was found.

Return
KeyEventType