Add keyboard functionality