replaced keycodes with scancodes to allow different keyboard layouts
(dvorak)
updated build scripts for cross-compiling