Ok, Im getting a lot of problems.
As some of you know, Im a windows programmer, now also learning linux. So Iḿ willing to use xlib. But I found out after reading ome of the manual that xlib works a lot differently than the winAPI, and I really need some tutorials on xlib from basic to advanced window maintenance. I dont get the following parts (if any of you know xlib):
- how to get keycode from events KeyPress and KeyRelease (im using a bool key[256] array to store all the keys, at least that worked fine on windows.)
- do I need XSelectInput to get the events or dont I need to specify any flags to use the event?
Ihve got a feeling its gotta be a long way to learn xlib...
Bookmarks