Is there a way to see how laptop keyboard’s “Enter” key responds differently than an external keyboard’s “Enter” key? [duplicate]

I have a cheap Gateway laptop that I bought for trying different stuff, e.g. teaching myself Linux. The laptop currently has Ubuntu installed and, very relevantly, has no number keypad so there there’s only one Enter key.

The problem is that some applications fail to recognize the Enter key built into the laptop’s keyboard but do recognize the Enter key in an external Microsoft ergonomic keyboard that I use when I’m at my home workspace. So, long story short…

I want to figure out what the difference is between how these two different Enter keys are working. I say “figure out“, rather than “find out”, because I’m an IT professional who’s going to be working a lot more in Linux soon so I’d like to get some practice in that environment while I try to solve this immediate issue. Therefore, Do any of you know any tools within Linux (or handy source-forge-ish downloadable tools) that can display exactly what symbol map code/ID is returned when a key is typed on a keyboard? I figure if I can find the exact mappings used by the different Enter keys, I can start to work towards building a custom mapping that works on my laptop when I’m away from my home base.