Jump to content



Photo
- - - - -

Casio Fx-9860g Sdk Key Codes


  • Please log in to reply
1 reply to this topic

#1 Massey101

Massey101

    Newbie

  • Members
  • Pip
  • 3 posts

  • Calculators:
    CASIO fx-9860G AU

Posted 12 September 2011 - 03:02 AM

I am trying to figure out this Casio version of C++. In the manual for GetKeyWait(), it says that it returns an integer pointer to point to the key code. So I assumed the keycode would be an interger. But looking at the code list they are all things like "KEY_CHAR_0" and "KEY_CHAR_DIV". I recently started learning C++ and have not come across something like it yet.

Also there seems to be no inbuilt functions to get text input. Do you have to make your own?

Thank You.

Edited by Massey101, 12 September 2011 - 03:03 AM.


#2 immibis

immibis

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750G Plus
    fx-9750GII

Posted 20 September 2011 - 10:00 AM

They are integers, they're defined in C:\Program Files\CASIO\fx-9860G SDK\OS\FX\include\keybios.h

For example, the two codes you mentioned are defined as:
#define KEY_CHAR_1		  0x31
#define KEY_CHAR_DIV		0xb9

I think you do have to make your own function for text input, but I've never needed text input so I'm not sure.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users