KetraTerm
API · DevelopmentAll versions

keyModifierOption

fun keyModifierOption(bits: Long, resource: Int): Int

Reads an XTMODKEYS resource from the same snapshot as all other input modes. Returns -1 for explicit disable and -2 for an unsupported resource identifier. Cursor/function resources default to 2; all other resources default to 0.