It's unclear to me where this macro is supposed to be defined. Are you aware of the macro CTK_CONF_MOUSE_SUPPORT?