File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6363_AW_CARDDET = const (8 )
6464_AW_SDPWR = const (9 )
6565_AW_DOWN = const (15 )
66- _AW_LEFT = const (14 )
66+ _AW_RIGHT = const (14 )
6767_AW_UP = const (13 )
68- _AW_RIGHT = const (12 )
68+ _AW_LEFT = const (12 )
6969_AW_OK = const (11 )
7070
7171_NVM_RESOLUTION = const (1 )
Original file line number Diff line number Diff line change 158158 key = settings [curr_setting ]
159159 if key :
160160 setattr (pycam , key , getattr (pycam , key ) - 1 )
161- if pycam .left .fell :
162- print ("LF " )
161+ if pycam .right .fell :
162+ print ("RT " )
163163 curr_setting = (curr_setting + 1 ) % len (settings )
164164 print (settings [curr_setting ])
165165 # new_res = min(len(pycam.resolutions)-1, pycam.get_resolution()+1)
166166 # pycam.set_resolution(pycam.resolutions[new_res])
167167 pycam .select_setting (settings [curr_setting ])
168- if pycam .right .fell :
169- print ("RT " )
168+ if pycam .left .fell :
169+ print ("LF " )
170170 curr_setting = (curr_setting - 1 + len (settings )) % len (settings )
171171 print (settings [curr_setting ])
172172 pycam .select_setting (settings [curr_setting ])
You can’t perform that action at this time.
0 commit comments