Fixed index numbers
Cleanup some scancode tables for x11.