multiple keyboard layouts for multiple keyboards



Messages: 20

Hi guys.

I've seen the How To for setting up multiple keyboard layouts / to switch keyboard layout on the fly.

My question is:
I currently have a Laptop with german keyboard and german keyboard layout set up.
German keyboards are not exactly what I call ergonomic when it comes to programming, having to use braces, brackets and other signs, that always need the AltGr key to be accessed. So I plan to buy a USB-keyboard with us layout, just for coding.

Is there a way to have the laptop keyboard layout set to de, while the external USB keyboard layout is set to us? If so, can you give me a hint where to look for a how to / documentation?

thanks in advance