Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possibility for keyboard functions in "ipxe's menu system"?
2013-01-04, 09:54 (This post was last modified: 2013-01-04 10:17 by Torgeir.)
Post: #3
RE: Possibility for keyboard functions in "ipxe's menu system"?
The concept of shortcut keys is working perfectly Smile
But I cannot get the code for backspace to work. Using the key "b" for testing, works as intended.

For backspace I've tried (both entries):
#define BACKSPACE CTRL_H
#define KEY_BACKSPACE BACKSPACE

Backspace in lowercase.

All examples.

Code:
item --key BACKSPACE prev_stage * Prev
item --key CTRL_H prev_stage * Prev
item --key KEY_BACKSPACE prev_stage * Prev
item --key backspace prev_stage * Prev

Am I missing something?

Torgeir
Nevermind. Found it:

Quote:# grep -R "BACKSPACE" *
hci/editstring.c: case KEY_BACKSPACE:
hci/mucurses/kb.c: case KEY_BACKSPACE :
hci/mucurses/kb.c: case KEY_BACKSPACE :
include/ipxe/efi/Protocol/SimpleTextIn.h:#define CHAR_BACKSPACE 0x0008
include/ipxe/keys.h:#define BACKSPACE CTRL_H
include/ipxe/keys.h:#define KEY_BACKSPACE BACKSPACE
interface/linux/linux_console.c: return KEY_BACKSPACE;

Torgeir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Possibility for keyboard functions in "ipxe's menu system"? - Torgeir - 2013-01-04 09:54



User(s) browsing this thread: 2 Guest(s)