I hav a A4Tech X-755FS mouse and any Oscar Software don't work on it also attached on CD Smart-X7 Software don't support Win 7. Is any other way to set side buttons? I've trtied X-Mouse Button Control but it doesn't work well.
Forum
Can't set additional mouse buttons
Can't set additional mouse buttons
5 replies
1

I hav a A4Tech X-755FS mouse and any Oscar Software don't work on it also attached on CD Smart-X7 Software don't support Win 7. Is any other way to set side buttons? I've trtied X-Mouse Button Control but it doesn't work well.
only two buttons on the side works as Mouse Button 4 and Mouse Button 5, but mouse have 10 buttons.. When you include "windows.h" in c++, you get access to the function "GetAsyncKeyState". Loop like this:
1
2
3
4
5
6
7
2
3
4
5
6
7
for (int i = 0; i < 256; i++)
{
	if (GetAsyncKeyState(i))
	{
		std::cout<<"Key: "<<i<<std::endl;
	}
}
to find out what "Keys" are sent when pressing the mouses extra buttons.
After you've done that you can just check if they have been triggered in something like a background service. From here you can simulate other key strokes then.
Edit: Functions you need:
keybd_event - To simulate key strokes
GetAsyncKeyState - To Check if a key was pressed.
edit²:
Actually does GetAsyncKeyState only receives if the key is currently pressed. You have to detect if the key goes up again.
edited 2×, last 06.06.14 11:23:54 am
I just search and downloaded drivers for Vista, and it works as it was in Win XP
Drivers X-755FS (Vista, Works on 7)
I wrote down here because a lot of people have this issue with this mouse so they can find this in google, maybe.
1

Offline
