Converts the scancode to keysym, given the keymap.
An IBusKeymap.
A scancode to be converted.
Modifier flags(such as Ctrl, Shift).
Corresponding keysym.