How do i use the two XCover Buttons on my Samsung device to automate..?

46 views
Skip to first unread message

G1 Cor'e

unread,
Jul 8, 2025, 4:33:18 PMJul 8
to Automate for Android
How do i find & use the two XCover Buttons on my Samsung cell phone as buttons to press within Automate..?

G1 Cor'e

unread,
Jul 8, 2025, 6:24:04 PMJul 8
to Automate for Android
After testing i found that the block called Key Pressed will indirectly trigger when either of the two XCover Buttons are pressed, however that is only bc there's no defining Input Args..

Key Codes:undefined works.
Key Codes:defined(any or all) doesn't work.

I tested checking all the Key Code boxes in Automate's KPBlock and it is not exclusive, meaning if you check more than one key it will trigger based on any of the keys checked, however, it is shown by this test that the two XCover keys are not represented in the available check boxes as their action became excluded by checking all key boxes, verified by the fact that the Vol Up/Dn keys still triggered the test cases when all key boxes were simultaneously checked.

Key Modifiers:no modifiers works.
Key Modifiers:defined(any or all) doesn't work.
Flags:undefined and from system works.
Flags:no flags (or anything else specific) doesn't work.

It would be ideal if something could read the output of the two XCover phone buttons, then maybe they could be quickly added specifically to Automate, these buttons have been on phones for years already, it would be great to add them in.

G1 Cor'e

unread,
Jul 8, 2025, 6:51:58 PMJul 8
to Automate for Android
I left out that ..
Key Modifiers:undefined works.

G1 Cor'e

unread,
Jul 9, 2025, 1:09:04 AMJul 9
to Automate for Android
I found two key reader flows in the community, using them i determined that the larger XCover Button's Key Code is 1015, and the smaller Top Button's Key Code is 1079, both have no modifiers.

I hope this helps future Galaxy XCover users to map those two buttons, next i'll want to figure out how to do double/triple/and long presses...

Reply all
Reply to author
Forward
0 new messages