Add support for stylus buttons