I was trying to help another user with keyboard issues (trying being a keyword ) and I noticed an oddity.
From the other thread, I was running the al_keyboard_event example. On my machine, I use xmodmap:
xmodmap -e "keycode 22 = BackSpace Delete"
...so that my keyboard (which has no delete key) binds SHIFT+Backspace to be delete.
It works in Chrome and all other applications I normally use.
However, it does not work with al_keyboard_event. It simply shows backspace. (The actual key pressed, as opposed to the mapping.)
Now, I'm not 100% sure where the distinction between xmodmap ("depreciated" in newest Ubuntu but still works) and xkb are. Perhaps a xkb remapping works fine with Allegro. I used xmodmap because it's simple (and downright better), while hacking xkb scripts is a super easy way to brick your machine. (Any syntax error end up with no keyboard support at all.)
I'm not sure what the best, "correct" default behavior should be for Allegro, and whether there should be a configuration option. But it seems like Allegro should be respecting remapped keys for disabled people / international people.
Running Ubuntu 16.04 LTS with Allegro 5.1.11.