Revamped include, Removed Module and changed repo URL (#1)

* Removed module, Removed WinTypes, Improved imports and typedefs, Improved readability
Update ListingRawInputDevices.pb, RawInput-Bindings.pbi, RawInput-Wrapper.pbi, and 4 more files

* Improved readme before, merging
Update PB-RawInput.pbp and readme.md

* Updated repo URL
Update ListingRawInputDevices.pb, RawInput-Bindings.pbi, and RawInput-Wrapper.pbi
This commit is contained in:
2026-07-31 12:20:34 +02:00
committed by GitHub
parent 0bd8524686
commit c7779f012f
7 changed files with 633 additions and 584 deletions
+24 -3
View File
@@ -1,17 +1,38 @@
# PB-RawInput
A module to access and use Windows' RawInput API.
# PureBasic - RawInput
Set of includes that provides bindings and wrappers for
[Windows' RawInput APIs](https://learn.microsoft.com/en-us/windows/win32/inputdev/raw-input).
> [!NOTE]
> This include is in low maintenance mode. \
> I consider it feature-complete, and unless a bug is found, I don't plan on updating it.
## Usage
Adding submodule:
```shell
git submodule add https://github.com/aziascreations/PB-Win32-RawInput.git Includes/PB-Win32-RawInput
```
Pull latest submodule version:
```shell
git submodule update --init --recursive
```
## Examples
Simply include "*[RawInput.pbi](Includes/RawInput.pbi)*" and use the structures, functions and datatypes documented on the [MSDN page](https://docs.microsoft.com/en-us/windows/win32/inputdev/raw-input.) with the `RawInput::` prefix.
## Considerations
* The module has not been tested on x86 platforms
* Some structure fields may not be available on Windows XP, see Microsoft's documentation.
* `GetRawInputDeviceInfoA` and `GetRawInputDeviceInfoW` are available under `GetRawInputDeviceInfo`.
## Useful Links
* MSDN page - https://docs.microsoft.com/en-us/windows/win32/inputdev/raw-input
* MSDN page - https://docs.microsoft.com/en-us/windows/win32/inputdev/raw-input
## License
[Unlicense](LICENSE)
All the code in this repo is released in the [Public Domain](LICENSE).