Re: Mdiai Keys - volume / play/pause/next...
Whoops! You were talking about media keys of course. I DO get values in a rawKeyUp handler for arrow keys and the others I mentioned. Not for the media keys though. You can just see why. All the other keys are part of a standard ANSI style keyboard. The media keys are not so far as I can tell, as common as it is to have them on a virtually every desktop keyboard these days. Bob S > On Oct 23, 2023, at 8:22 AM, Bob Sneidar via use-livecode > wrote: > > I have in the past was unable to trap a key event for arrow keys. I think > Jacque is right I do not think the system deals with arrow keys the way other > keys work. They do not send any kind of ascii code, so LC would have to > monitor them differently. Does the insert, home page up and page down buttons > return anything? If not then I think that validates the idea that LC is only > looking for ASCII style events. > > Bob S > > >> On Oct 20, 2023, at 8: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@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mdiai Keys - volume / play/pause/next...
I have in the past was unable to trap a key event for arrow keys. I think Jacque is right I do not think the system deals with arrow keys the way other keys work. They do not send any kind of ascii code, so LC would have to monitor them differently. Does the insert, home page up and page down buttons return anything? If not then I think that validates the idea that LC is only looking for ASCII style events. Bob S > On Oct 20, 2023, at 8: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@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mdiai Keys - volume / play/pause/next...
Hi David, > Am 21.10.2023 um 12:22 schrieb David Bovill via use-livecode > : > > Thanks for noting that on Windows. Nothing is sent on MacOS - at least M2 > Macbook Air. same here, macOS 12.7, MacMini Intel. No rawkey sent... > I filed a report - please vote - > https://quality.livecode.com/show_bug.cgi?id=24375 > > On Sat, 21 Oct 2023 at 02:05, Paul Dupuis via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> 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 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mdiai Keys - volume / play/pause/next...
Thanks for noting that on Windows. Nothing is sent on MacOS - at least M2 Macbook Air. I filed a report - please vote - https://quality.livecode.com/show_bug.cgi?id=24375 On Sat, 21 Oct 2023 at 02:05, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > 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@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mdiai Keys - volume / play/pause/next...
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mdiai Keys - volume / play/pause/next...
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode