Prebuilt, device-specific Karabiner config files to enable every button on your mouse, touchpad or keyboard on OS X, even when no driver available.
Download and install Karabiner from here.
Paste the following line in a terminal and press enter.
cd ~/Library/Application\ Support/Karabiner/ && git clone https://github.com/Jamesits/james-karabiner-config.git
Then edit ~/Library/Application\ Support/Karabiner/private.xml
to be like this:
<?xml version="1.0"?>
<root>
<include once="true" path="james-karabiner-config/all.xml"/> <!-- put this line directly under <root>! -->
</root>
Finally, open Karabiner preference and click the "Reload XML" button under "Change Key" tab. Some new options will show up on the top of the list.
cd ~/Library/Application\ Support/Karabiner/ && git pull
Contributions welcomed.