[OpenBIOS] About the keyboard device

Programmingkid programmingkidx at gmail.com
Fri Nov 2 18:05:37 CET 2012


On Nov 2, 2012, at 12:55 PM, Tarl Neustaedter wrote:

> On 2012-Nov-2 12:49 , Programmingkid wrote:
>> Can a keyboard node word be accessed in OpenBIOS? If so, how?
> 
> In general, any device method call be called via:
> 
> ( $device-path) open-dev ( ihandle | 0 )
> 
> then (repeat as needed):
> 
> ( ... $method-name ihandle ) $call-method ( ??? )
> 
> When you're done,
> 
> ( ihandle ) close-dev
> 
> In the case of keyboard, since it is always an open and active device, make sure you aren't doing something that will foul up the console driver.

How do I obtain the ihandle for the keyboard? I tried " keyboard" open-dev, but that only returns zero. 


More information about the OpenBIOS mailing list