SoulFu Forums II
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Invert mouse

2 posters

Go down

Invert mouse Empty Invert mouse

Post  skipass 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

Back to top Go down

Invert mouse Empty Re: Invert mouse

Post  Dusk 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
Dusk
Dusk

Posts : 6
Join date : 2010-08-19

Back to top Go down

Back to top


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