If nothing above works, you need to force macOS to reinitialize its entire input stack.
: Sometimes scrolling is disabled at the system level. Navigate to System Settings > Accessibility > Pointer Control > Mouse Options and make sure "Use mouse for scrolling" is turned on. magic mouse not scrolling