Have you tried Karabiner Elements (https://karabiner-elements.pqrs.org/)?
I use it for some other keyboard mapping (e.g. for my Logitech G915 TKL keyboard).
You can map keys per device so you the remapping for the Logitech does not interfere with the built-in Laptop keyboard. It is not the most end user friendly software, but it works for me
Have you tried Karabiner Elements (https://karabiner-elements.pqrs.org/)?
I use it for some other keyboard mapping (e.g. for my Logitech G915 TKL keyboard).
You can map keys per device so you the remapping for the Logitech does not interfere with the built-in Laptop keyboard. It is not the most end user friendly software, but it works for me