The plot thickens. When I unplugged the keyboard from my USB hub and plugged it directly into the computer, the built-in key mapping started working properly. Very strange.
I've never had a problem with any other device plugged into this hub, and I've never had a problem swapping the keys of any other USB keyboard plugged into this hub. Very, very odd.