hidapi-usb 0.3__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hidapi-usb-0.3/hidapi_usb.egg-info → hidapi_usb-0.3.2}/PKG-INFO +10 -4
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/hidapi.py +2 -2
- {hidapi-usb-0.3 → hidapi_usb-0.3.2/hidapi_usb.egg-info}/PKG-INFO +10 -4
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/setup.py +1 -1
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/LICENSE.txt +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/README.md +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/hidapi_usb.egg-info/SOURCES.txt +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/hidapi_usb.egg-info/dependency_links.txt +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/hidapi_usb.egg-info/requires.txt +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/hidapi_usb.egg-info/top_level.txt +0 -0
- {hidapi-usb-0.3 → hidapi_usb-0.3.2}/setup.cfg +0 -0
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
Metadata-Version:
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: hidapi-usb
|
|
3
|
-
Version: 0.3
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: CFFI wrapper for hidapi with changes by flok
|
|
5
5
|
Home-page: https://github.com/flok/hidapi-cffi.git
|
|
6
6
|
Author: Florian K
|
|
7
7
|
Author-email: 37000563+flok@users.noreply.github.com
|
|
8
8
|
License: BSD
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
License-File: LICENSE.txt
|
|
10
|
+
Requires-Dist: cffi
|
|
11
|
+
Dynamic: author
|
|
12
|
+
Dynamic: author-email
|
|
13
|
+
Dynamic: home-page
|
|
14
|
+
Dynamic: license
|
|
15
|
+
Dynamic: requires-dist
|
|
16
|
+
Dynamic: summary
|
|
@@ -2,7 +2,7 @@ from cffi import FFI
|
|
|
2
2
|
from sys import platform
|
|
3
3
|
ffi = FFI()
|
|
4
4
|
|
|
5
|
-
if platform.startswith('linux'):
|
|
5
|
+
if platform.startswith('linux') or platform.startswith('darwin'):
|
|
6
6
|
ffi.cdef("""
|
|
7
7
|
|
|
8
8
|
struct hid_device_;
|
|
@@ -51,7 +51,7 @@ int hid_get_indexed_string(hid_device *device, int string_index,
|
|
|
51
51
|
wchar_t *string, size_t maxlen);
|
|
52
52
|
const wchar_t* hid_error(hid_device *device);
|
|
53
53
|
""")
|
|
54
|
-
elif platform.startswith('
|
|
54
|
+
elif platform.startswith('win32'):
|
|
55
55
|
ffi.cdef("""
|
|
56
56
|
|
|
57
57
|
typedef struct _OVERLAPPED {
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
Metadata-Version:
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: hidapi-usb
|
|
3
|
-
Version: 0.3
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: CFFI wrapper for hidapi with changes by flok
|
|
5
5
|
Home-page: https://github.com/flok/hidapi-cffi.git
|
|
6
6
|
Author: Florian K
|
|
7
7
|
Author-email: 37000563+flok@users.noreply.github.com
|
|
8
8
|
License: BSD
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
License-File: LICENSE.txt
|
|
10
|
+
Requires-Dist: cffi
|
|
11
|
+
Dynamic: author
|
|
12
|
+
Dynamic: author-email
|
|
13
|
+
Dynamic: home-page
|
|
14
|
+
Dynamic: license
|
|
15
|
+
Dynamic: requires-dist
|
|
16
|
+
Dynamic: summary
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|