Text Input Events
Text input events are generated in response to text input handled by the Text Services Manager. These events typically correspond to actions taken by a text input method, rather than raw keystrokes, although some of the parameters allow you to extract individual characters.
Table C-6. Required Parameter Names and Types for Text Input Event Kinds
| Event kind | Parameter name | Parameter type |
|---|---|---|
|
|
|
typeComponentInstance
|
kEventParamTextInputSendRefCon
|
typeLongInteger
| |
kEventParamTextInputSendSLRec
|
typeIntlWritingCode
| |
kEventParamTextInputSendFixLen
|
typeLongInteger
| |
kEventParamTextInputSendText
|
| |
|
|
|
typeComponentInstance
|
kEventParamTextInputSendRefCon
|
typeLongInteger
| |
kEventParamTextInputSendSLRec
|
typeIntlWritingCode
| |
kEventParamTextInputSendText
|
typeUnicodeText
| |
|
|
typeEventRef
| |
kEventOffsetToPos
|
|
typeComponentInstance
|
kEventParamTextInputSendRefCon
|
typeLongInteger
| |
|
|
typeLongInteger
| |
kEventParamTextInputReplyPoint
|
typeQDPoint
| |
kEventPosToOffset
|
|
typeComponentInstance
|
kEventParamTextInputSendRefCon
|
typeLongInteger
| |
|
|
typeQDPoint
| |
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access