https://github.com/tekezo/Karabiner-Elements/pull/247
You could build from the latest update and get that functionality.