Comment 91 for bug 313514

wayland uses 32 bit keycodes, so it doesn't have the same limitation.