Switching to keysyms for portability.