Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 9 April 2018

Writing WDF Drivers I: Core Concepts, Manchester, NH, 7 May 2018

Kernel Debugging & Crash Analysis for Windows, Dulles (Sterling), VA, 21 May 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 15  
07 Feb 18 11:42
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 55
Keyboard filter media keys

We write an keyboard filter which change, delete and modify keys. All works fine but we don't get the media keys. Our filter driver is an Upperfilter and is above kbdclass. If we change the position below kbdclass the filter doesnt work. What is the reason for that? What is the solution that we can change modify keys and get the media keys too?
  Message 2 of 15  
07 Feb 18 16:11
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

Media keys on a usb hid device are in a separate top level collection outside of the keyboard top level collection. If you want to filter media keys you would need to filter the appropriate HID PDO. d Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@x-publisher.com <xxxxx@lists.osr.com> Sent: Wednesday, February 7, 2018 8:43:21 AM To: Windows System Software Devs Interest List Subject: [ntdev] Keyboard filter media keys We write an keyboard filter which change, delete and modify keys. All works fine but we don't get the media keys. Our filter driver is an Upperfilter and is above kbdclass. If we change the position below kbdclass the filter doesnt work. What is the reason for that? What is the solution that we can change modify keys and get the media keys too? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7C87b 4f13528f84160147908d56e49c831%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 185540370335%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=jJPEechE7H6bbQUv%2BapVdTKWQsOuATrBn5btsbdbcUk%3D&rese rved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7C87b4f13528f84160147908d56e49c 831%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536185540370335%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=2Iod%2Boo%2BTUm%2FzYYisCINdqxam9xIiIWjrae4e1cKRH4%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7C87b 4f13528f84160147908d56e49c831%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 185540370335%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=KjZpTExl0s%2BQ8zYrRHw8%2B5%2BswQBodh66SzBroh29SJ0%3D& reserved=0> --
  Message 3 of 15  
07 Feb 18 16:34
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 55
Keyboard filter media keys

Can this be done with the some filter driver? Where can I find this top level PDO?
  Message 4 of 15  
07 Feb 18 16:44
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

You would install your filter with an INF to match by hardware ID. Any usb keyboard with media keys will do -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@x-publisher.com Sent: Wednesday, February 7, 2018 1:35 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: RE:[ntdev] Keyboard filter media keys Can this be done with the some filter driver? Where can I find this top level PDO? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7Cdab 7530a7cc04ffefdd908d56e728aa9%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 360601953658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=cQNTV%2Fv9LNduBaDVXjGfWD24EyukhNyzJBSrRzcimIs%3D&rese rved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7Cdab7530a7cc04ffefdd908d56e728 aa9%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536360601953658%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=%2FIshDbmLxoT0UrnnmfoXU9xl%2FKidywIP8VoTJFniwxM%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7Cdab 7530a7cc04ffefdd908d56e728aa9%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 360601953658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=F24b0z2T0rHJZ4%2FCljLCBYuo6iQNAv1RZ29CNQVkO%2Fs%3D&re served=0>
  Message 5 of 15  
08 Feb 18 02:37
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 55
Keyboard filter media keys

Can this be done also dynamically? If I use inf file for specific keyboard it seem that I must change the inf file each time another keyboard reached the machine.
  Message 6 of 15  
08 Feb 18 10:00
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

It could be done dynamically but you will have missed the critical opening of the handle to the device by win32K where all these keys are reported. And win32k may stash the stack size for the device and not have enough room for your filter. You can write an inf that matches on a generic hw or compat ID, all of the media key top level collections use the same usage page Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@x-publisher.com <xxxxx@lists.osr.com> Sent: Wednesday, February 7, 2018 11:38:05 PM To: Windows System Software Devs Interest List Subject: RE:[ntdev] Keyboard filter media keys Can this be done also dynamically? If I use inf file for specific keyboard it seem that I must change the inf file each time another keyboard reached the machine. --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7C9e4 5790d51ae435ef4f908d56ec6c687%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 722366656731%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=SjeWyZmbzqT%2BjBFlN%2BVqJd%2Fv%2BrUuoGrwUQyz42scSis%3 D&reserved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7C9e45790d51ae435ef4f908d56ec6c 687%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536722366666736%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=v%2FAGMyiWQ9iRdKz6czfneXZgFsP2sme1SQ4XUET82KY%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7C9e4 5790d51ae435ef4f908d56ec6c687%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636536 722366666736%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=k%2FBX3hLX7bBo7o3%2FNFXchWoThTv3UeIlSvdVSMdOEy8%3D&re served=0> --
  Message 7 of 15  
11 Feb 18 08:36
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 55
Keyboard filter media keys

If I install the filter driver with a generic hw, does this mean the filter driver is a device specific filter driver and I must create a registry entry through an AddReg in the inf file? I found HID_DEVICE_SYSTEM_KEYBOARD under HardwareId, is this such a generic hw id?
  Message 8 of 15  
11 Feb 18 21:54
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11800
Keyboard filter media keys

On Feb 11, 2018, at 5:35 AM, xxxxx@x-publisher.com <xxxxx@lists.osr.com> wrote: > > If I install the filter driver with a generic hw, does this mean the filter driver is a device specific filter driver and I must create a registry entry through an AddReg in the inf file? You do need to create a registry entry, although you can do it from an app rather than an INF. If you want your filter installed on every such device, you can install it as a class filter, > I found HID_DEVICE_SYSTEM_KEYBOARD under HardwareId, is this such a generic hw id? That is a generic hardware ID, but there's no guarantee your keyboard will match that ID. ??? Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 9 of 15  
12 Feb 18 01:20
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

HID_DEVICE_SYSTEM_KEYBOARD is a compat is for the keyboard top level collection. The media keys are in a diff top level collection which has different ids. Yes, you will need to install per device instance. If the inf is properly written and signed, you just need to import the inf once and it will be installed on existing instances and new instances automatically. Filtering the class (HID) will add your filter to every HID on the system which will be a pretty big job for you to maintain to make sure you don?t regress behavior. Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@probo.com <xxxxx@lists.osr.com> Sent: Sunday, February 11, 2018 6:53:18 PM To: Windows System Software Devs Interest List Subject: Re: [ntdev] Keyboard filter media keys On Feb 11, 2018, at 5:35 AM, xxxxx@x-publisher.com <xxxxx@lists.osr.com> wrote: > > If I install the filter driver with a generic hw, does this mean the filter driver is a device specific filter driver and I must create a registry entry through an AddReg in the inf file? You do need to create a registry entry, although you can do it from an app rather than an INF. If you want your filter installed on every such device, you can install it as a class filter, > I found HID_DEVICE_SYSTEM_KEYBOARD under HardwareId, is this such a generic hw id? That is a generic hardware ID, but there's no guarantee your keyboard will match that ID. ? Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc. --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7C760 2516ad8d94b5f13b108d571c3cef6%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636540 008165920502%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=JQmkXqaBiaRiiWk7PFsfB8gaABcSVSrdN%2BoHfvQ7Vqw%3D&rese rved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7C7602516ad8d94b5f13b108d571c3c ef6%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636540008165920502%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=Z%2FNl08PwSbXTpwy9TkVy9R99j93b4Py3hl4uJhaTTm8%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7C760 2516ad8d94b5f13b108d571c3cef6%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636540 008165930511%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=Yn01a03CjZkAQiDt944yDnmUozel49yYCnNYXLHkqkA%3D&reserv ed=0> --
  Message 10 of 15  
12 Feb 18 01:41
makrurisan makkeln
xxxxxx@x-publisher.com
Join Date: 12 Jan 2018
Posts To This List: 55
Keyboard filter media keys

Is it in this way that I can add and Upperfilters entry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID at a specific Keyboard and place my filter in the Upperfilters value?
  Message 11 of 15  
12 Feb 18 13:52
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11800
Keyboard filter media keys

xxxxx@x-publisher.com wrote: > Is it in this way that I can add and Upperfilters entry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID at a specific Keyboard and place my filter in the Upperfilters value? I'm not exactly sure what you're asking.  To install a filter driver, all you have to do is copy the file into place, create a service, and then create the registry entry in Enum.  You can do that using SetupDiSetDeviceRegistryProperty, once you have found the device you want to filter with the other SetupDi APIs. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 12 of 15  
12 Feb 18 14:29
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

The manual route will not work when a new keyboard shows up. If a new keyboard is plugged in and you have an INF matching on the compatible ID, your filter will always be installed on the media top level collection -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@probo.com Sent: Monday, February 12, 2018 10:52 AM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: Re: [ntdev] Keyboard filter media keys xxxxx@x-publisher.com wrote: > Is it in this way that I can add and Upperfilters entry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID at a specific Keyboard and place my filter in the Upperfilters value? I'm not exactly sure what you're asking.  To install a filter driver, all you have to do is copy the file into place, create a service, and then create the registry entry in Enum.  You can do that using SetupDiSetDeviceRegistryProperty, once you have found the device you want to filter with the other SetupDi APIs. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc. --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7C380 3955034244933ae4808d57249c0bf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540 583453423352%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=GFWA9anKIjpaSf9ea5FD6YdwmQpYvUvJQysSHCkT5PA%3D&reserv ed=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7C3803955034244933ae4808d57249c 0bf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540583453423352%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=%2B2Fd1ZpiBRHaALbgohludj5ha9lWsGYQLQOwB%2BAj3v0%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7C380 3955034244933ae4808d57249c0bf%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540 583453423352%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=GTQIdpOYNh1lBdaJUR0BDxV3qBbO6%2BocNGE7JE6CmWo%3D&rese rved=0>
  Message 13 of 15  
12 Feb 18 19:34
R0b0t1
xxxxxx@gmail.com
Join Date: 24 Mar 2017
Posts To This List: 64
Keyboard filter media keys

On Mon, Feb 12, 2018 at 12:19 AM, xxxxx@microsoft.com <xxxxx@lists.osr.com> wrote: > HID_DEVICE_SYSTEM_KEYBOARD is a compat is for the keyboard top level > collection. The media keys are in a diff top level collection which has > different ids. Yes, you will need to install per device instance. If the inf > is properly written and signed, you just need to import the inf once and it > will be installed on existing instances and new instances automatically. > Filtering the class (HID) will add your filter to every HID on the system > which will be a pretty big job for you to maintain to make sure you don=E2??t > regress behavior. > Can you explain what you mean? Most media keys I am aware of are in the keyboard usage page. There is another usage page, consumer controls, that contains some almost identical names, but those are not associated with keyboards (it's hard to infer what they are actually for; if they are for a specific device, as the standard says, why is that state broadcast over USB?). Do you mean that some keyboards enumerate as a boot keyboard with extra information for media keys? Per the spec and the recommended boot keyboard descriptor, this also isn't right, but I don't understand how it would be causing problems. Cheers, R0b0t1 > ________________________________ > From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> > on behalf of xxxxx@probo.com <xxxxx@lists.osr.com> > Sent: Sunday, February 11, 2018 6:53:18 PM > To: Windows System Software Devs Interest List > Subject: Re: [ntdev] Keyboard filter media keys > > On Feb 11, 2018, at 5:35 AM, xxxxx@x-publisher.com > <xxxxx@lists.osr.com> wrote: >> <...excess quoted lines suppressed...>
  Message 14 of 15  
12 Feb 18 20:10
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10157
Keyboard filter media keys

The boot scenario handles a limited set of keys and IIRC the keyboard stops operating in boot mode as soon as the host OS loads and resets it. I have never seen a HID with media keys report them through the keyboard TLC (even if the keyboard usage page has usages defined). They have always come from the consumer collection. d -----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com Sent: Monday, February 12, 2018 4:34 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: Re: [ntdev] Keyboard filter media keys On Mon, Feb 12, 2018 at 12:19 AM, xxxxx@microsoft.com <xxxxx@lists.osr.com> wrote: > HID_DEVICE_SYSTEM_KEYBOARD is a compat is for the keyboard top level > collection. The media keys are in a diff top level collection which > has different ids. Yes, you will need to install per device instance. > If the inf is properly written and signed, you just need to import the > inf once and it will be installed on existing instances and new instances automatically. > Filtering the class (HID) will add your filter to every HID on the > system which will be a pretty big job for you to maintain to make sure > you don’t regress behavior. > Can you explain what you mean? Most media keys I am aware of are in the keyboard usage page. There is another usage page, consumer controls, that contains some almost identical names, but those are not associated with keyboards (it's hard to infer what they are actually for; if they are for a specific device, as the standard says, why is that state broadcast over USB?). Do you mean that some keyboards enumerate as a boot keyboard with extra information for media keys? Per the spec and the recommended boot keyboard descriptor, this also isn't right, but I don't understand how it would be causing problems. Cheers, R0b0t1 > ________________________________ > From: xxxxx@lists.osr.com > <xxxxx@lists.osr.com> > on behalf of xxxxx@probo.com <xxxxx@lists.osr.com> > Sent: Sunday, February 11, 2018 6:53:18 PM > To: Windows System Software Devs Interest List > Subject: Re: [ntdev] Keyboard filter media keys > > On Feb 11, 2018, at 5:35 AM, xxxxx@x-publisher.com <...excess quoted lines suppressed...> --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ceba 8e01453534ff602a708d572797697%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540 788426105658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=JU24amIe8culC0xw8h1dLA2u%2BHNWTrIPjGRW3HNy2xE%3D&rese rved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ceba8e01453534ff602a708d572797 697%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540788426105658%7CUnknown%7CT WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdat a=CoJwkPubzSQFo8XhjqA3jfq12J7G2%2BW2wF%2F6CRGALXA%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=04%7C01%7CDoron.Holan%40microsoft.com%7Ceba 8e01453534ff602a708d572797697%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636540 788426105658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6 Ik1haWwifQ%3D%3D%7C-1&sdata=S8nnCcIMKl%2FBZbvNcVOEJkBiuYLcMdDR8UR5i6Pl%2F5Y%3D&re served=0>
  Message 15 of 15  
13 Feb 18 18:44
R0b0t1
xxxxxx@gmail.com
Join Date: 24 Mar 2017
Posts To This List: 64
Keyboard filter media keys

On Mon, Feb 12, 2018 at 7:08 PM, xxxxx@microsoft.com <xxxxx@lists.osr.com> wrote: > The boot scenario handles a limited set of keys and IIRC the keyboard stops operating in boot mode as soon as the host OS loads and resets it. > > I have never seen a HID with media keys report them through the keyboard TLC (even if the keyboard usage page has usages defined). They have always come from the consumer collection. > Sorry Doran, looks like you are right - I misread the spec, partially because most userspace interfaces to key events package everything together. May have been the same mistake OP was making. Cheers, R0b0t1 > > -----Original Message----- > From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com > Sent: Monday, February 12, 2018 4:34 PM > To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> > Subject: Re: [ntdev] Keyboard filter media keys > > On Mon, Feb 12, 2018 at 12:19 AM, xxxxx@microsoft.com <xxxxx@lists.osr.com> wrote: >> HID_DEVICE_SYSTEM_KEYBOARD is a compat is for the keyboard top level >> collection. The media keys are in a diff top level collection which <...excess quoted lines suppressed...>
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 02:02.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license