Re: The keyboard interfaces and protocols in X

2022-02-14 Thread Andrew Bainbridge
I tried to do something similar and had the same experience. I still don't know how to convert keyboard events to something useful like UTF-8. (I was actually aiming for Latin-1 to start with). My terrible code is here: https://github.com/abainbridge/deadfrog-lib/blob/master/src/df_window_x11.cp

Re: The keyboard interfaces and protocols in X

2022-02-14 Thread Sam Varshavchik
I should preface by saying that I reverse-engineered this, based on time-consuming searches, and by picking up some clues in xorg's source. This was a long time ago, I don't remember where I found everything, I forgot, and only have the end results. This is what I have: https://github.com/svarshav

Re: The keyboard interfaces and protocols in X

2022-02-14 Thread Peter Hutterer
On Sun, Feb 13, 2022 at 07:01:04PM +0200, John Found wrote: > Hi. > > I am trying to create a X client that to communicate to X server by the > raw protocol, not using any libraries, such as XLib or XCB. > > While with the graphics part it was simple and straightforward task, > solved by simply