Issues with XF86Brightness keys and wofi

Hi,

I have some issues with the Sway edition, the XF86MonBrightnessUp/Down keys do not work.
I have tried to change commands to something like notify-send test and after I reload the config, it still did not work. the others XF86* keys work as expected, only the brightness ones are not “recognized”.

Another issue I have is with wofi, I cannot type to filter the entries. When I type the wofi “window” will empty from all the entries, a bit frustrating. And I also cannot select the entry with ctrl+p/n but only with the arrow keys.
Am I missing a setting for this issue?

Thanks!