To disable the customized pointing device code and implement it at the keymap, add CUSTOM_POINTING_DEVICE = no to your rules.mk.
Deprecated - Functionality moved to core
When the gamepad or diablo layers are enabled, the mouse layer is locked on, as well.
The only custom keycode for Pointing devices here is KC_ACCEL. This allow the mouse report to have an acceleration curve (exponential).