Disable External Buttons
jjames
AMX Sustaining Engineer
Is there not a way to disable the hard buttons via code? When creating a TP file, I create one file per panel type, and then in code distinguish which panel was hit and send the appropriate popup, page, etc. I've tried assigning the hard buttons a variable text address so I can send the "^ENA" command to try and disable them, but it didn't work. They're volume buttons, so they're channels 24 & 25, and those buttons are also on the TP screen.
Short of creating a new file, are there any other options? Has anyone tried this before?
Short of creating a new file, are there any other options? Has anyone tried this before?
Comments
-
I generally disable volume buttons when a system isn't on just to prevent the volume bar popup I use from appearing. I just trap the button event:
BUTTON_EVENT[dvTP, mVolumeButtons] { PUSH : { IF(nSystemMode <> SYSTEM_OFF) // SYSTEM_OFF being one of my standard CONSTANT values { // do volume control and popup management here } } } -
Errr - sorry!! I failed to get into details as to why I'm trying to disable the hard buttons only because I want them to be a page flip only. The volume control will still be on the panel...
I dunno, perhaps I'm making this too complex. I guess I could make it simple and change the button numbers and be done with it. Grrr - here's me again making a mountain out of an ant hill. -
Have you tried these SEND_COMMANDs?jjames wrote:?I'm trying to disable the hard buttons only because I want them to be a page flip only.
1) ^CPF ? clear all page flips from a button
2) ^APF ? add page flip action to a button if it doesn?t already exist
3) ^DPF ? delete page flip from a button if it already exists.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums