File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 63
63
_AW_CARDDET = const (8 )
64
64
_AW_SDPWR = const (9 )
65
65
_AW_DOWN = const (15 )
66
- _AW_LEFT = const (14 )
66
+ _AW_RIGHT = const (14 )
67
67
_AW_UP = const (13 )
68
- _AW_RIGHT = const (12 )
68
+ _AW_LEFT = const (12 )
69
69
_AW_OK = const (11 )
70
70
71
71
_NVM_RESOLUTION = const (1 )
Original file line number Diff line number Diff line change 158
158
key = settings [curr_setting ]
159
159
if key :
160
160
setattr (pycam , key , getattr (pycam , key ) - 1 )
161
- if pycam .left .fell :
162
- print ("LF " )
161
+ if pycam .right .fell :
162
+ print ("RT " )
163
163
curr_setting = (curr_setting + 1 ) % len (settings )
164
164
print (settings [curr_setting ])
165
165
# new_res = min(len(pycam.resolutions)-1, pycam.get_resolution()+1)
166
166
# pycam.set_resolution(pycam.resolutions[new_res])
167
167
pycam .select_setting (settings [curr_setting ])
168
- if pycam .right .fell :
169
- print ("RT " )
168
+ if pycam .left .fell :
169
+ print ("LF " )
170
170
curr_setting = (curr_setting - 1 + len (settings )) % len (settings )
171
171
print (settings [curr_setting ])
172
172
pycam .select_setting (settings [curr_setting ])
You can’t perform that action at this time.
0 commit comments