I'm hoping somebody will have tried this before !

I would like to use a script that changes the mouse sensitivity settings, the reason being that mouse sensitivity settings required for a USB mouse are quite different from those required for the touchpad on my laptop (Dell Inspirion 1525 if anybody cares)

Ideally this would be triggered by a USB connect/disconnect event, however it isn't much hassle to trigger it through a keyboard shortcut if that turns out to be too difficult.

Cheers!