Laptop & USB keyboard, 2 maps

Is it possible (and how) to configure 2 different layouts for the laptop keyboard and the external USB one (a mac keyboard) ? The general settings for the laptop doesn’t fully cover all the keys on the USB one.

sudo micro /etc/modprobe.d/hid_apple.conf
Ctrl+C the following, Ctrl+V and Ctrl+Q in terminal:

options hid_apple iso_layout=0
options hid_apple fnmode=2
options hid_apple swap_opt_cmd=1