A computer mouse providing the functionality of a vacuum cleaner comprises a main mouse body and a vacuum device. The vacuum device is substantially mounted inside the main mouse body so that the shape of the computer mouse having the functionality of a vacuum cleaner is substantially that of the main mouse body. A user can use it as a mouse or as a vacuum cleaner to, for example, clean a computer keyboard.