| 
					Possibility for keyboard functions in "ipxe's menu system"?
				 | 
| 
					2013-01-04, 09:00 
(This post was last modified: 2013-01-04 09:01 by Torgeir.)
				 Post: #1 | |||
| 
 | |||
| Possibility for keyboard functions in "ipxe's menu system"? 
					Hi! Was wondering if it could be possible to have/add keyboard functions in ipxe's build in menu system. Like, "backspace" to go back, instead of having an menu entry "back/prev", with "goto prev_stage". Makes any sense? Torgeir | |||
| 
					2013-01-04, 09:23 
				 Post: #2 | |||
| 
 | |||
| RE: Possibility for keyboard functions in "ipxe's menu system"? (2013-01-04 09:00)Torgeir Wrote: Was wondering if it could be possible to have/add keyboard functions in ipxe's build in menu system. There's no concept of "back/prev" built in to the menu system; it doesn't retain state between menus. The best way to achieve what you want is probably to include a "back/prev" entry in each of your menus, with the shortcut key set to backspace. Michael | |||
| 
					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   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 * PrevAm I missing something? Torgeir Nevermind. Found it: Quote:# grep -R "BACKSPACE" * Torgeir | |||
| 
					2013-01-04, 10:28 
(This post was last modified: 2013-01-04 10:29 by mcb30.)
				 Post: #4 | |||
| 
 | |||
| RE: Possibility for keyboard functions in "ipxe's menu system"? (2013-01-04 09:54)Torgeir Wrote: The concept of shortcut keys is working perfectly As I think you already figured out, you need to use the literal value for backspace (0x08): Code: item --key 0x08 prev_stage * PrevMichael | |||
| 
					2013-01-04, 14:49 
				 Post: #5 | |||
| 
 | |||
| RE: Possibility for keyboard functions in "ipxe's menu system"? 
					Yeah. But thanks anyway   Torgeir | |||
| 
					« Next Oldest | Next Newest »
				 | 
User(s) browsing this thread: 1 Guest(s)

 Search
Search Member List
Member List Calendar
Calendar Help
Help 

 



