Add core options to customize button mappings.

Fixes issue #14.