Author Topic: Reading DoF or AF-On key? 5D III  (Read 273 times)


  • New to the forum
  • *
  • Posts: 6
Reading DoF or AF-On key? 5D III
« on: May 01, 2020, 10:08:47 PM »
I'm trying to write a little helper script to switch between AF modes using a key on the camera, preferably the DoF preview key or AF-ON.

Is there a way to access these keys or? They're not listed in the lua script documentation...

I'd like to toggle from one shot (with expansion) and AI servo (set point then tracking) using a key, but it seems impossible in the canon menus.


  • Administrator
  • Hero Member
  • *****
  • Posts: 12390
  • Quarantined
Re: Reading DoF or AF-On key? 5D III
« Reply #1 on: May 02, 2020, 08:24:17 AM »
Not straightforward - they share the same button codes with half-shutter.

Long answer: