Screen brightness control (F1, F2) not working on a WASD mechanical keyboard with mac mode keys
You can use software like Karabiner (free) to remap your keyboard keys. According to their documentation, mapping function keys to brightness settings is one of the settings it comes with.

https://pqrs.org/osx/karabiner/