To look up Keysyms from Strings the method XStringToKeysym comes in handy, which would require linking against libX11. By integrating the method in the module, this can be avoided until similar functionallity get's included in xorg-server.