only check keyboard