Are Enter Keys Coded Differently?

Doug dmcgarrett at optonline.net
Thu Jul 11 15:39:12 UTC 2013


On 07/11/2013 04:50 AM, Graham Todd wrote:
> I have both an Enter key in my keyboard and another marked "Enter" to
> the right of the keypad.
> 
> Recently, I created a passphrase that was input by pressing the
> far-right Enter key, which seems to require me to input the passprase
> with the far-right Enter key.
> 
> This has me wondering.  Are the two keys encoded differently?
> 
> Graham Todd
> 
It should have been obvious that the only way there could be a
difference in response if if the keycodes were different. The far-right
enter key is coded 95 and the normal enter key is coded BD. For the
complete keycode system, go to:

http://www.google.com/imgres?imgurl=http://www.netbsd.org/docs/Hardware/Machines/DEC/LK201_large_keycodes.jpg&imgrefurl=http://www.netbsd.org/Documentation/Hardware/Machines/DEC/lk201.html&h=292&w=965&sz=66&tbnid=NrYcZig6iMSLLM:&tbnh=37&tbnw=121&prev=/search%3Fq%3Dkeycode%2Bdiagram%26tbm%3Disch%26tbo%3Du&zoom=1&q=keycode+diagram&usg=__FRdrFsVpyvjNtvsDDZTA1t8JLGI=&docid=nIsHpzcBwU5sYM&sa=X&ei=r9DeUeq3Eo-p4APJ_IGoBA&ved=0CEEQ9QEwBg&dur=10175

--doug

-- 
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley




More information about the ubuntu-users mailing list