static long alt_mode_key_mask = 0x00001800;
But why 0x1800?
0x1000 mask has KEY_ISO in register #1 (setting 0x800 in register #1 may cause unpredicted behavoir )
0x800 mask has KEY_PRINT in register #2 (setting 0x1000 in register #2 may cause unpredicted behavoir )
because default register is #2, maybe default alt_mode_key_mask must be 0x800? (default=before config file is loaded)