[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    PDA LCD control
From:       "TAKEMURA Shin" <takemura () netbsd ! org>
Date:       2000-09-24 12:45:44
[Download RAW message or body]

Hi,

I'm going to change wsdisplay and wskbd for Handheld device's LCD
control. I've made the patch below.

http://www02.u-page.so-net.ne.jp/ca2/takemura/tmp/lcdcontrol.patch

Key points are:

  - Add ioctl commands to wsdisplay which set/get some LCD status,
    backlight, brightness and contrast.
  - Add 9 command key symbols which make wskbd to call wsdisplay's 
    iocontrol.
  - Add special key map variant KB_MACHDEP. This variant does not
    have any real keymap but it's just a placeholder for machine dependent 
    maps which will be overwrite by machine dependent keyboard driver.

With this function, you can type Command + Space to turn on/off
backlight of LCD. (NEC MC/R530's keyboard has a space key with
a electric light bulb icon.)

Please check it. If no one have objection to this, I will commit
the patch on next weekend.

Takemura

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic