Mdiai Keys - volume / play/pause/next...

Paul Dupuis paul at researchware.com
Fri Oct 20 21:04:23 EDT 2023


When I try on Windows 11 using Livecode 9.6.10 a rawKeyDown or rawkeyUp 
message, the media keys on my HP laptop all return 0 as the keyCode, so 
I think this is a bug of some sort that should be reported to the 
Livecode Quality Center https://quality.livecode.com/

The keyDown or keyUp message does not get sent. the OS (Win11) 
apparently intercepts and raises/lowers/mutes the volume or play/pause 
as applicable.


On 10/20/2023 11:08 AM, David Bovill via use-livecode wrote:
> Is there a way to trap for these keyboard events.
>
> Volume and Media Keys: In the HID standard, volume and media control keys
> often have specific usage IDs. For example:
>
>
>     - 0xE9 is for volume up.
>     - 0xEA is for volume down.
>     - 0xE2 is for mute.
>     - 0xCD is for play/pauseetc
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list