added placeholder code to convert a keypress into a hotbar action