./demo_input
wlgui input demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] sizeof(FT_FaceRec)=160 offset(glyph)=152 offset(units_per_EM)=136 offset(ascender)=138
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=20 valid=TRUE builtin=FALSE ascent=19 descent=5 units_per_EM=2048
[font] sizeof(FT_FaceRec)=160 offset(glyph)=152 offset(units_per_EM)=136 offset(ascender)=138
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=14 valid=TRUE builtin=FALSE ascent=13 descent=3 units_per_EM=2048
[wlgui] window created: "wlgui input demo" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[demo] focus in
[demo] mouse enter
[demo] mouse down at 274,228 button=1
[demo] mouse up at 274,228
[demo] mouse down at 274,228 button=3
[demo] mouse up at 274,228
[demo] key: cp=U+0066 sym=$0066 scancode=33 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0077 sym=$0077 scancode=17 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0066 sym=$0066 scancode=33 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0077 sym=$0077 scancode=17 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0065 sym=$0065 scancode=18 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0000 sym=$FFE3 scancode=29 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0000 sym=$FFE3 scancode=29 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0000 sym=$FFE1 scancode=42 shift=FALSE ctrl=FALSE alt=FALSE
[demo] key: cp=U+0046 sym=$0046 scancode=33 shift=FALSE ctrl=FALSE alt=FALSE
[demo] mouse down at 258,231 button=1
[demo] mouse up at 258,231
[demo] mouse down at 272,229 button=3
[demo] mouse up at 272,229
[demo] mouse down at 272,229 button=1
[demo] mouse up at 272,229
[demo] mouse down at 272,229 button=3
[demo] mouse up at 272,229
[demo] mouse down at 272,229 button=3
[demo] mouse up at 272,229
[demo] mouse leave
[demo] focus out
^C