Friday 22 July 2016

Possible to add onGenericMotionEvent using xposed?



Hello, I've been wondering if someone knew of a way to implement onGenericMotionEvent in an app using xposed. I want to be able to receive inputs from a controller and respond. I'm pretty sure I can't replace it if it's not there, and I'm not sure where to go from here. It is usually implemented as an @override and it is found in android.view.View . Any thoughts on how I should go about implementing this?

I've tried

Code:


findAndHookMethod("android.view.View", lpparam.classLoader, "onGenericMotionEvent", new XC_MethodReplacement()

but that returned with a NoSuchMethodError



No comments:

Post a Comment