The game does not reconize the ALT and Fn 's keys when using the x11 interface. These keys are commonly used on keymaps (to map a complex set of instructions into just one key to, for example, cast an spell).
I'm pretty sure this bug most be sent upstream, but gentoo guidelines says to post it here.
Steps to Reproduce:
1. Start tome in graphical mode: tome -g -mx11 -- -b
2. Begin a game
3. Press the @ key to interact with macros
4. Press the 8 key to create a keymap
5. When the game asks for a key to be presed press Fn or ALT+<any key>.
Start the keymap creation process.
ran this by upstream and they confirm something odd is going on and will look into it. The work around for now is to use a macro(4) instead. Marking upstream.