Media Keys - volume / play/pause/next...
J. Landman Gay
jacque at hyperactivesw.com
Fri Oct 20 19:41:53 EDT 2023
If rawKeyDown/Up doesn't catch them then I assume the OS isn't sending the
keycodes to apps.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 20, 2023 5:42:05 PM David Bovill via use-livecode
<use-livecode at lists.runrev.com> wrote:
> Surprisingly difficult. There are a couple of apps that let you customize
> play/pause interactions from the keyboard - but they dont work when sent
> from other devices such as earbuds. Livecode does not seem to read these
> events either....
>
> On Fri, 20 Oct 2023 at 16:08, David Bovill <david.bovill at gmail.com> 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