File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -238,10 +238,10 @@ def release(self, button):
238
238
239
239
# screen initial press
240
240
def screen_press (self , event ):
241
- if self .input == 'Stylus' :
241
+ if self .input . get () == 'Stylus' :
242
242
write_evdev (self .fifo_stylus , * codes_stylus ['abs_distance' ], 0 )
243
243
244
- if self .input == 'Touch' :
244
+ if self .input . get () == 'Touch' :
245
245
pass
246
246
247
247
self .screen_motion (event )
@@ -269,11 +269,11 @@ def screen_motion(self, event):
269
269
270
270
# screen release
271
271
def screen_release (self , event ):
272
- if self .input == 'Stylus' :
272
+ if self .input . get () == 'Stylus' :
273
273
write_evdev (self .fifo_stylus , * codes_stylus ['abs_distance' ], 100 )
274
274
write_evdev (self .fifo_stylus , * code_sync )
275
275
276
- if self .input == 'Touch' :
276
+ if self .input . get () == 'Touch' :
277
277
pass
278
278
279
279
Original file line number Diff line number Diff line change 3
3
4
4
setup (
5
5
name = 'remarkable-sim' ,
6
- version = '1.0.4 ' ,
6
+ version = '1.0.5 ' ,
7
7
packages = ['remarkable_sim' ],
8
8
author = "Evan Widloski" ,
9
9
You can’t perform that action at this time.
0 commit comments