ajout keyboard handler