It looks like you got it working using Karabiner but I believe there's a native solution as well that allows you to use those keys without pressing the function key. Just uncheck the box in the keyboard preferences as seen in the screenshot. At least this is what I do to use F5 and F6 as hotkeys without needing to press the FN key.