Add XKBlib API to support keytypes