Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Numpad Scan Codes help!

dan25dan25 Member Posts: 3
hi.
im writin a linux c console app and i need the numpad-intro to have a diferent function than the keypad-return. both keys has the 0xA value (retuned by getchar()). anybody knows a way to distinguish those two keys???. THNX!

Comments

  • great_a77great_a77 Member Posts: 2
    If you are running X server, try using xmodmap.
    (man xmodmap will give you details).

    Regards
    Ramki.

    : hi.
    : im writin a linux c console app and i need the numpad-intro to have a diferent function than the keypad-return. both keys has the 0xA value (retuned by getchar()). anybody knows a way to distinguish those two keys???. THNX!
    :

  • Shawn CarterShawn Carter Member Posts: 0

    _________ | http://forcoder.org | free video tutorials and ebooks about [ C++, JavaScript, Perl, Java, Objective-C, Go, Visual Basic, Ruby, Assembly, C#, PHP, MATLAB, Scratch, Swift, C, PL/SQL, Python, R, Visual Basic .NET, Delphi ML, ABAP, Apex, Logo, Alice, VBScript, F#, SAS, Scheme, Julia, FoxPro, Fortran, Awk, Lisp, Bash, Scala, Clojure, LabVIEW, Ada, Kotlin, D, COBOL, Prolog, Hack, Crystal, Erlang, Rust, Lua, Transact-SQL, Dart ] _______

Sign In or Register to comment.