we have 
```
#define GUI_MSG_SET_TEXT        42
```
just in front of this piece of code, so the input method text is similar and user do not use it, the xbmc itself generate these messages when the text input activated.