|
From: Joy Lee Joy on 27 Apr 2008 23:32 Dear All, I'm going to develop a driver for notebook using. The driver need to handle a device (capacitive sensor finger touch) and then tuning system audio volume. In such a case, which sample code classified in WDK source catalogue is suitable to refer ? Thanks in Advance. Sincerely, Joy.
From: Tim Roberts on 28 Apr 2008 01:48 Joy Lee <Joy Lee(a)discussions.microsoft.com> wrote: > > I'm going to develop a driver for notebook using. > The driver need to handle a device (capacitive sensor finger touch) > and then tuning system audio volume. > In such a case, which sample code classified in WDK source catalogue > is suitable to refer ? How is the capacitive sensor attached? What kind of bus? You will want to make it a mouse driver. Volume will be handled by the audio driver. It's not a separate device. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
From: Joy Lee on 28 Apr 2008 04:43 I have a touch panel which is composed of a botton, a slider and a scroll wheel. The capacitive sensors are connected to this panel. When I touch the panel, touch event will be triggered, I need to read device registers to do some judgement. Then, I have to tune system audio volume accoring to this judgement. It may set audio volume " mute " or " increasing / decreasing volume ". Could I just develop only one driver to handle above ? Some kernel audio APIs are available for just tuning volume "mute" or "increasing / decreasing volume" ? Thanks in Advance. Sincerely, Joy Lee. joy.lee(a)ite.com.tw "Tim Roberts" wrote: > Joy Lee <Joy Lee(a)discussions.microsoft.com> wrote: > > > > I'm going to develop a driver for notebook using. > > The driver need to handle a device (capacitive sensor finger touch) > > and then tuning system audio volume. > > In such a case, which sample code classified in WDK source catalogue > > is suitable to refer ? > > How is the capacitive sensor attached? What kind of bus? You will want to > make it a mouse driver. > > Volume will be handled by the audio driver. It's not a separate device. > -- > Tim Roberts, timr(a)probo.com > Providenza & Boekelheide, Inc. >
From: Pavel A. on 28 Apr 2008 08:40 "Tim Roberts" <timr(a)probo.com> wrote in message news:57pa149kmhp9u5b8m5phhqbpps69rjf35s(a)4ax.com... > Joy Lee <Joy Lee(a)discussions.microsoft.com> wrote: >> >> I'm going to develop a driver for notebook using. >> The driver need to handle a device (capacitive sensor finger touch) >> and then tuning system audio volume. >> In such a case, which sample code classified in WDK source catalogue >> is suitable to refer ? > > How is the capacitive sensor attached? What kind of bus? You will want > to > make it a mouse driver. > > Volume will be handled by the audio driver. It's not a separate device. > -- > Tim Roberts, timr(a)probo.com > Providenza & Boekelheide, Inc. Why a mouse? Can this be done by simulating these "multimedia" keyboards with volume keys? --PA
From: Tim Roberts on 30 Apr 2008 00:53 Joy Lee <JoyLee(a)discussions.microsoft.com> wrote: > >I have a touch panel which is composed of a botton, a slider and a scroll >wheel. >The capacitive sensors are connected to this panel. >When I touch the panel, touch event will be triggered, >I need to read device registers to do some judgement. That's not what I meant. Is it a PCI device? A USB device? Direct I/O ports? >Then, I have to tune system audio volume accoring to this judgement. >It may set audio volume " mute " or " increasing / decreasing volume ". > >Could I just develop only one driver to handle above ? >Some kernel audio APIs are available for just tuning volume "mute" or >"increasing / decreasing volume" ? Pavel is right, you can simulate a keyboard and send the extended keyboard commands for volume and mute. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
|
Pages: 1 Prev: USB Composite (Multi-function) Device question .. Next: WDF ToolKit ? |