M3 playback button code - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

M3 playback button code

  • 2 Replies
  • 1515 Views
M3 playback button code
« on: 13 / April / 2023, 04:53:18 »
Advertisements
@reyalp

Quick question: what is the playback, ie image review, button code on the M3?

*

Offline reyalp

  • ******
  • 14117
Re: M3 playback button code
« Reply #1 on: 13 / April / 2023, 12:57:08 »
@reyalp

Quick question: what is the playback, ie image review, button code on the M3?
Judging by https://app.assembla.com/spaces/chdk/subversion/source/HEAD/trunk/platform/m3/kbd.c it's not defined in CHDK, perhaps because it uses inverted logic which requires additional code to handle.

If you want to simulate a click, you could probably use
Code: [Select]
post_levent_to_ui('PressPBButton')
post_levent_to_ui('UnpressPBButton')

If you want to respond to presses in script, you're probably SOL unless someone updates the kbd.c code for this port.
Don't forget what the H stands for.

Re: M3 playback button code
« Reply #2 on: 13 / April / 2023, 17:20:15 »
Thanks for the insight.

I’ll just have to ignore that button for now, hoping someone with an M3, and knows what they are doing, can uncover the M3 buttons that are not currently handled.
« Last Edit: 13 / April / 2023, 18:05:26 by pigeonhill »

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal