Bluetooth clicker with iOS


(Chris Hardy) #1

Hi all,

Has anyone ever managed to get a Bluetooth clicker to work with a hype document on a iOS browser?

I want a button to stop a timeline remotely from the device.

Is this possible?

Thanks,

Chris


#2

It’s more about what keys can you get the bluetooth clicker to simulate. If it’s programmable, you can get it to simulate ‘spacebar’ and then you could listen for the spacebar key using JavaScript.

if (event.keyCode == 32) { // spacebar
    hypeDocument.showSceneNamed('Scene 3', hypeDocument.kSceneTransitionCrossfade, 1.0);
}

https://keycode.info/ shows you what your bluetooth clicker is doing :slight_smile:


(Chris Hardy) #3

Excellent thanks! Now to buy a Bluetooth clicker and get testing :+1: