I just built the lastest qmk_firmware from git to give high resolution scrolling a shot, but building the firmware is now stopped by this error caused by maccel.
#define CONSTRAIN_REPORT(val) (mouse_xy_report_t) _CONSTRAIN(val, XY_REPORT_MIN, XY_REPORT_MAX)
^~~~~~~~~~~~~
maccel.c:102:46: note: in definition of macro ‘_CONSTRAIN’
#define _CONSTRAIN(amt, low, high) ((amt) < (low) ? (low) : ((amt) > (high) ? (high) : (amt)))
^~~
maccel.c:153:33: note: in expansion of macro ‘CONSTRAIN_REPORT’
const mouse_xy_report_t x = CONSTRAIN_REPORT(new_x);
^~~~~~~~~~~~~~~~
maccel.c:103:67: note: each undeclared identifier is reported only once for each function it appears in
#define CONSTRAIN_REPORT(val) (mouse_xy_report_t) _CONSTRAIN(val, XY_REPORT_MIN, XY_REPORT_MAX)
^~~~~~~~~~~~~
maccel.c:102:46: note: in definition of macro ‘_CONSTRAIN’
#define _CONSTRAIN(amt, low, high) ((amt) < (low) ? (low) : ((amt) > (high) ? (high) : (amt)))
^~~
maccel.c:153:33: note: in expansion of macro ‘CONSTRAIN_REPORT’
const mouse_xy_report_t x = CONSTRAIN_REPORT(new_x);
^~~~~~~~~~~~~~~~
maccel.c:103:82: error: ‘XY_REPORT_MAX’ undeclared (first use in this function)
#define CONSTRAIN_REPORT(val) (mouse_xy_report_t) _CONSTRAIN(val, XY_REPORT_MIN, XY_REPORT_MAX)
^~~~~~~~~~~~~
maccel.c:102:71: note: in definition of macro ‘_CONSTRAIN’
#define _CONSTRAIN(amt, low, high) ((amt) < (low) ? (low) : ((amt) > (high) ? (high) : (amt)))
^~~~
maccel.c:153:33: note: in expansion of macro ‘CONSTRAIN_REPORT’
const mouse_xy_report_t x = CONSTRAIN_REPORT(new_x);
^~~~~~~~~~~~~~~~
[ERRORS]
I just built the lastest qmk_firmware from git to give high resolution scrolling a shot, but building the firmware is now stopped by this error caused by maccel.