Error compiling

You are using the macro "#define RemoteXY_CONF const PROGMEM RemoteXY_CONF_PROGMEM" as argument to "pgm_read_byte_near", your code will expand to:

pgm_read_byte_near(const PROGMEM RemoteXY_CONF_PROGMEM[8]);

Which is a malformed statement, therefore the macro is not working.