mouse init based on keyboard project