Only use hammer on devices that support touch.