// keycode returns the given Unicode codepoint translated to a Keycode sequence.
// Unicode codepoints greater than U+FFFF are unsupported.
//go:inline
keycode returns the given Unicode codepoint translated to a Keycode sequence.
Unicode codepoints greater than U+FFFF are unsupported.
go:inline
// keycode returns the given Unicode codepoint translated to a Keycode sequence . // Unicode codepoints greater than U + FFFF are unsupported . // go : inline
func keycode(p uint16) Keycode {
	if p < 0x80 {
		return ascii[p]
	} else if p >= 0xA0 && p < 0x0100 {
		return iso88591[p-0xA0]
	} else if uint16(UNICODEEXTRA00) == p {
		return KEYCODEEXTRA00.mask()
	}
	return 0
}
func keycode ( p uint16 ) Keycode { if p < 0x80 { return ascii [ p ] } else if p >= 0xA0 && p < 0x0100 { return iso88591 [ p - 0xA0 ] } else if uint16 ( UNICODEEXTRA00 ) == p { return KEYCODEEXTRA00 . mask ( ) } return 0 }
keycode returns the given Unicode codepoint translated to a Keycode sequence.
keycode returns the given Unicode codepoint translated to a Keycode sequence .