Invert mouse

View previous topic View next topic Go down

Invert mouse

Post  skipass on Sat Sep 04, 2010 4:55 pm

SoulFu is great, but I can't get used to its mouse control. Is it possible to revert it? Thanks.

skipass

Posts : 1
Join date : 2010-09-04

View user profile

Back to top Go down

Re: Invert mouse

Post  Dusk on Sun Sep 05, 2010 5:23 am

Yes, but you will have to edit the source code for that

In input.c, look for these lines
Code:
                    else
                    {
                        // Rotational control...
                        camera_rotation_add_xy[X] += (signed int) (off_x * CAMERA_ROTATION_RATE);
                        camera_rotation_add_xy[Y] -= (signed int) (off_y * CAMERA_ROTATION_RATE);
                    }
Change the "+=" there to "-=" and then recompile the code
avatar
Dusk

Posts : 6
Join date : 2010-08-19

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum