Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>keyset</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  KEYSET

  .  Summary

  keyset(int <key>, int <table>, str <text>);

  .  Description

  The keyset function is used to assign text to a key. <key> is an in-
  teger value representing the key.  <text> is what to assign to this
  key. Telix always keeps two key definition tables in memory, a
  relatively constant user table, and a terminal table which changes
  with each different terminal and holds the proper key assignments for
  that terminal. If <table> is 0, the key definition in the user table
  is affected. If <table> is 1, the key definition in the terminal
  table is affected.

  .  Return Value

  None.

  .  Example

  // Assign a name to the F1 key in the user table
  // Note that if the terminal table also holds a
  // definition for that key it will take precedence
  keyset((0x3a00, 0, "Joe Smith");

See Also: keyget keyload keysave ASCII table keyboard Key Codes

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson