Ted Morin
3d2ea4ef69
Merge pull request #2 from benoit-pierre/fix_win_py38
...
Fix 64bits Windows support
2021-10-09 17:48:13 -04:00
Benoit Pierre
9a68d58c3f
add more debug traces
2021-05-29 16:08:42 +02:00
Benoit Pierre
800b761db0
cosmetic
2021-05-29 16:08:42 +02:00
Benoit Pierre
aeececf43f
cleanup Stenograph._connect_machine
2021-05-29 16:08:42 +02:00
Benoit Pierre
3e536c8a21
fix pyusb implementation
...
The `StenographMachine` class does not have a `_error` method.
2021-05-29 16:08:42 +02:00
Benoit Pierre
d3a13abba6
fix Windows implementation
...
The handling of the `SP_DEVICE_INTERFACE_DETAIL_DATA_A` argument
to `SetupDiGetDeviceInterfaceDetail` is wrong: the hard-coded size
only works for 32bits.
Fix call to `CloseHandle` with an invalid (0) handle: use
`INVALID_HANDLE_VALUE` for `StenographMachine._usb_device`
initial value.
2021-05-29 16:06:48 +02:00
Benoit Pierre
b39eeca9c4
preliminary cleanup of Windows implementation
2021-05-29 16:05:36 +02:00
Benoit Pierre
0467a29d22
cleanup Stenograph._send_receive implementation
2021-05-26 19:38:25 +02:00
Benoit Pierre
4b18114dd2
lint: unnecessary-pass
2021-05-26 19:34:34 +02:00
Benoit Pierre
5cdbbd3634
lint: pointless-string-statement
2021-05-26 19:34:26 +02:00
Benoit Pierre
5e4543a6ef
cleanup Python 2 leftovers
2021-05-26 19:30:19 +02:00
Ted Morin
f343d16767
Merge pull request #1 from Elktro/master
...
Add try-catch for USB device set_configuration()
2021-04-13 13:53:52 -07:00
Ilkka Pohjalainen
92e97ab880
Add try-catch for USB device set_configuration()
...
Needs to be added in order to get access denied erro when
sufficient permissions. Affects Linux platform.
2019-08-02 17:18:19 +03:00
Ted Morin
43b558d8ac
Pad data to 8 bytes, remove * imports
2018-05-27 21:27:19 -04:00
Ted Morin
db9fb0e32d
Version 0.0.4
2018-05-22 09:38:36 -04:00
Ted Morin
32bad8706c
Fix support for Protege
2018-05-21 13:40:29 -04:00
Ted Morin
04332c939b
v0.0.3
2018-02-27 11:18:41 -05:00
Ted Morin
bf9e6d8a89
Ensure pyusb is is not installed on Windows
2018-02-27 11:07:17 -05:00
Ted Morin
5675ad6171
v0.0.2
2018-02-26 22:48:55 -05:00
Ted Morin
5e60f74978
readme: explain where to get drivers
2018-02-26 22:48:35 -05:00
Ted Morin
4718c00c77
Simplify readme
2018-02-26 22:34:33 -05:00
Ted Morin
4d3017912e
Refactor code
2018-02-26 22:27:32 -05:00
Stanley Sakai
52eece316b
Convert to plugin
2018-02-26 22:27:07 -05:00
Ted Morin
f90d4dfc94
Initial implementation of Stenograph USB
2018-02-26 22:26:43 -05:00