automatic config for Canvas for keyboard inputs