How to configure mini optical mouse ?

hello,
someone gave me a set of electronic gadgets 'Brookstone' which has mini optical mouse. This mouse label doesn't have model or etc. Mouse does not work properly i.e. pointer is moving right but left/right buttons work opposite and not always could open or close controls.
I suggest it might be need driver or configuration need to be done or etc.
Any idea?
P.S. I am running RHAT 6.1

are you using RHEL 6.1 or Red Hat 6.1? If it is Red Hat 6.1, perhaps something made this century would be more toward your liking.

I am using RHAT 6.1

Again...Perhaps using something not released in the late nineties would be beneficial.

6.1 (Cartman), October 4, 1999 (Linux 2.2.12-20)

Red Hat Linux - Wikipedia, the free encyclopedia

It is out of support, and ancient by today's standards. You are using something about as old as Windows 2000. Driver updates are highly unlikely to be found.