MXRJR This issue has been addressed before. Search around the forum: [Login to see the link]
Just make sure your mouse version matches:
1) For apps4flip cursor:
adb shell settings put secure enabled_accessibility_services com.android.cts.apps.accessibility.voiceaccess/com.google.android.apps.accessibility.voiceaccess.JustSpeakService:com.android.cts.appsflipcursor/com.android.cts.appsflipcursor.services.MouseEventService
2) For Virresh's KCOmouse:
adb shell settings put secure enabled_accessibility_services com.android.cts.apps.accessibility.voiceaccess/com.google.android.apps.accessibility.voiceaccess.JustSpeakService:com.android.cts.virresh.kcomouse/com.android.cts.virresh.kcomouse.services.MouseEventService
3) For Virresh's Matvt:
adb shell settings put secure enabled_accessibility_services com.android.cts.apps.accessibility.voiceaccess/com.google.android.apps.accessibility.voiceaccess.JustSpeakService:com.android.cts.io.github.virresh.matvt/com.android.cts.io.github.virresh.matvt.services.MouseEventService
Then do:
adb shell settings put secure accessibility_enabled 1
(It adds the service for the mouse after a colon).