included some more keyboard and mouse callbacks