HEADMOB SCRIPT & CONFIG SETUP GUIDE FAQ

Control mouse with Android

Note:increase the sensivity of Yaw, Pith and Roll to the high value in HeadMob app. Then write below code in FreePIE:

def update():
x = filters.deadband(filters.delta(math.degrees(android[0].googleYaw)), deadband)
y = filters.deadband(filters.delta(math.degrees(android[0].googlePitch)), deadband) * -1

mouse.deltaX = x * 3
mouse.deltaY = y * 2.1

if starting:
deadband = 0.09
android[0].update += update