TVOS – Test the volume and home button on the SIRI remote control

It is relatively simple to detect some keys on the tvOS Siri remote: the pause/play button, the touchpad area, and the MENU button with a little effort. But there seems to be no way to detect or cover and – Button, or the function of Siri or home button.

Is it still there?

Currently, the – and (volume) buttons on the Siri remote can be accessed through private functions. These Cannot be overridden or detected because they have a retention function. The same is true for the home button.

There are a few points that support this statement. First, as the OP pointed out, no event is detected with the volume button Any actions related to them. They also don’t trigger pressBegan or similar events.

Another good place to use remote/controllers to find more options is GCGameController. It looks like it has all the related functions, but The volume buttons are reserved. Take a look at
Use Apple TV Remote as the game controller part here. It mentions all the buttons on the remote that can be used in CGGameController.

As I have in other posts As mentioned in, this is a fairly new operating system, but not everything is available. You can submit a bug report to Apple at any time and request certain APIs to be disclosed.

It is relatively simple to detect some keys on the tvOS Siri remote: the pause/play button, the touchpad area, and the slightly less labor-saving MENU button. But there seems to be no way to detect or override the and – button, or the function of the Siri or home button.

Is it still there?

Currently, the – and (volume) buttons on the Siri remote can be accessed through private functions. These cannot be overridden or detected because they have a reserved function. The same is true for the home button.

There are a few points that support this statement. First, as the OP pointed out, no events have detected any actions related to the volume buttons. They also do not trigger pressBegan or Similar events.

Another good place to use remote/controller to find more options is GCGameController. It looks like it has all the related functions, but the volume buttons are reserved. Take a look
Use Apple TV Remote as the game controller part here. It mentions all the buttons on the remote that can be used in CGGameController.

As I mentioned in other posts, this is a fairly new operation System, but not everything is available. You can submit a bug report to Apple at any time and request certain APIs to be disclosed.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1725 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.