Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt
zorbathut

I'm working on getting the keyboard functional for chat in our game. I've discovered several rather interesting things about both our font and the Sony-provided keyboard library.

First off, our font is almost - but not exactly - ASCII.
Second, the keyboard library returns values that are almost - but not exactly - ASCII.

Of course, they're both "not ASCII" in different ways. For example, the ASCII code for { is 0x7B. However, our 0x7B is actually a little iconic representation of the Playstation's X button. However, this is less of a problem than you'd think, because if you push { on the keyboard, the library returns 0x60, which is ` - unless you're using our font, in which case it's ~. If you want to get { - er, I mean, Xbutton - you have to press ). And ironically, if you want to get ), you have to press (.

Confused yet?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments