anyone know how to setup the wacom stylus buttons & expresskeys to map to Keyboard Shortcuts under linux ? i'm using fedora.

I typically map the pen buttons to toggle fg/bg color &/or switch tools when using photoshop/windows, plus use the express keys to change brush size etc..,

Can gimp & the linux wacom drivers do this out of the box, or should I start finding my way around the source code to acheive this..

Please move this post if it's in the wrong place..