Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
zaucy
SDL
Repository navigation
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
SDL
src
hidapi
mac
on
SDL2
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 6, 2023
hidapi: Avoid memcpy'ing to NULL.
Show description for 065d807
icculus
committed
065d807
View commit details
Copy full SHA for 065d807
View code at this point
Browse repository at this point
Commits on Apr 24, 2023
hidapi/mac: replace sprintf uses with snprintf.
Show description for 0f2322a
sezero
authored and
slouken
committed
0f2322a
View commit details
Copy full SHA for 0f2322a
View code at this point
Browse repository at this point
hidapi/mac: import mainstream commit c1b9d2ad
Show description for 5f344c1
sezero
authored and
slouken
committed
5f344c1
View commit details
Copy full SHA for 5f344c1
View code at this point
Browse repository at this point
Commits on Feb 9, 2023
Fixed MFI controller being opened while HIDAPI controller was being opened
Show description for f71178a
slouken
committed
f71178a
View commit details
Copy full SHA for f71178a
View code at this point
Browse repository at this point
Commits on Nov 5, 2022
Added SDL_HINT_HIDAPI_IGNORE_DEVICES to specify devices that should be ignored in SDL_hid_enumerate()
slouken
committed
15a9890
View commit details
Copy full SHA for 15a9890
View code at this point
Browse repository at this point
Commits on Oct 29, 2022
Allow vendor matching for hid_enumerate() on all backends
slouken
committed
f6b1e02
View commit details
Copy full SHA for f6b1e02
View code at this point
Browse repository at this point
Commits on Sep 23, 2022
Make sure HID devices can be opened before making them available to the application
Show description for aa2e2f4
slouken
committed
aa2e2f4
View commit details
Copy full SHA for aa2e2f4
View code at this point
Browse repository at this point
Commits on Sep 22, 2022
Accidentally reverted https://github.com/libsdl-org/SDL/commit/172865ff137532123ec06177119be163ba1811f5
slouken
committed
99e85cc
View commit details
Copy full SHA for 99e85cc
View code at this point
Browse repository at this point
Fixed use of uninitialized 'size' variable (thanks @ozkan!)
slouken
committed
6cbdc66
View commit details
Copy full SHA for 6cbdc66
View code at this point
Browse repository at this point
Commits on Sep 16, 2022
Fixed comment typo
slouken
committed
910d499
View commit details
Copy full SHA for 910d499
View code at this point
Browse repository at this point
Don't enumerate HID devices on macOS if we don't have input monitoring permissions
Show description for 172865f
slouken
committed
172865f
View commit details
Copy full SHA for 172865f
View code at this point
Browse repository at this point
Commits on Aug 25, 2022
Fixed crash if there are no devices available
slouken
committed
679582e
View commit details
Copy full SHA for 679582e
View code at this point
Browse repository at this point
Commits on Jun 27, 2022
Fix C89 declaration for macOS modules.
Show description for 6c536af
FtZPetruska
authored and
slouken
committed
6c536af
View commit details
Copy full SHA for 6c536af
View code at this point
Browse repository at this point
Commits on Mar 24, 2022
static analysis: Fixed several complaints from codechecker.
Show description for 4fe7b2c
icculus
committed
4fe7b2c
View commit details
Copy full SHA for 4fe7b2c
View code at this point
Browse repository at this point
Commits on Mar 9, 2022
Make sure the string properties are actually strings (thanks Nat!)
slouken
committed
09b652b
View commit details
Copy full SHA for 09b652b
View code at this point
Browse repository at this point
Reenable getting the serial number on macOS
Show description for 14db417
slouken
committed
14db417
View commit details
Copy full SHA for 14db417
View code at this point
Browse repository at this point
Prefer HIDAPI on macOS, as that has extended functionality
slouken
committed
c3ca344
View commit details
Copy full SHA for c3ca344
View code at this point
Browse repository at this point
Commits on Nov 20, 2021
hid: fix inconsistent indentation
cgutman
committed
343fa61
View commit details
Copy full SHA for 343fa61
View code at this point
Browse repository at this point
hid: Only enumerate IOHIDDevices that are likely to be joysticks
Show description for db60b27
cgutman
committed
db60b27
View commit details
Copy full SHA for db60b27
View code at this point
Browse repository at this point
Commits on Nov 8, 2021
Build hidapi code into SDL as a new public API
Show description for 5b646cd
slouken
committed
5b646cd
View commit details
Copy full SHA for 5b646cd
View code at this point
Browse repository at this point
Commits on Oct 1, 2021
Use correct relative include path
slouken
committed
db18764
View commit details
Copy full SHA for db18764
View code at this point
Browse repository at this point
Commits on Jun 23, 2021
Workaround for crash on Apple Mac M1 hardware
slouken
committed
814285d
View commit details
Copy full SHA for 814285d
View code at this point
Browse repository at this point
Commits on Jun 3, 2021
Clarify why we're skipping Game Controller framework supported devices in hid.c
slouken
committed
6de33c0
View commit details
Copy full SHA for 6de33c0
View code at this point
Browse repository at this point
Have HIDAPI skip MFI supported HID devices on macOS to avoid duplicate devices.
pbhogan
authored and
slouken
committed
28da6c5
View commit details
Copy full SHA for 28da6c5
View code at this point
Browse repository at this point
Commits on Mar 23, 2021
Fixed crash on macOS when AirPods are connected
slouken
committed
1133ea0
View commit details
Copy full SHA for 1133ea0
View code at this point
Browse repository at this point
Commits on Jan 18, 2020
Added support for detecting previously unknown Xbox 360 and Xbox One controllers using the HIDAPI driver with libusb and Android
slouken
committed
43aa1fa
View commit details
Copy full SHA for 43aa1fa
View code at this point
Browse repository at this point
Commits on Dec 30, 2019
Removed unnecessary setlocale() on Mac
Show description for 98ce0e5
slouken
committed
98ce0e5
View commit details
Copy full SHA for 98ce0e5
View code at this point
Browse repository at this point
Commits on Dec 21, 2019
Use IOHIDManagerRegisterDeviceRemovalCallback() to monitor for HID removal
Show description for f21e172
cgutman
committed
f21e172
View commit details
Copy full SHA for f21e172
View code at this point
Browse repository at this point
Commits on Jul 25, 2019
hidapi: Update repository URLs
Show description for 738dff4
aeikum
committed
738dff4
View commit details
Copy full SHA for 738dff4
View code at this point
Browse repository at this point
Commits on Jul 23, 2019
hidapi: Zero out new hid_device_info structs
aeikum
committed
0e9560a
View commit details
Copy full SHA for 0e9560a
View code at this point
Browse repository at this point
Commits on Jul 17, 2019
Fixed build error
slouken
committed
52e6232
View commit details
Copy full SHA for 52e6232
View code at this point
Browse repository at this point
Add linked list of opened HID devices to prevent accessing already freed devices in device removal callback that is sometimes called even after being unregistered
slouken
committed
1dc2416
View commit details
Copy full SHA for 1dc2416
View code at this point
Browse repository at this point
Commits on Oct 26, 2018
Don't build SDL_JOYSTICK_HIDAPI by default on iOS
Show description for b08bdc4
slouken
committed
b08bdc4
View commit details
Copy full SHA for b08bdc4
View code at this point
Browse repository at this point
Commits on Aug 21, 2018
Fixed warnings building on Mac OS X 64-bit
slouken
committed
5dfa404
View commit details
Copy full SHA for 5dfa404
View code at this point
Browse repository at this point
Commits on Aug 9, 2018
Added missing files from previous commits
slouken
committed
4f41f07
View commit details
Copy full SHA for 4f41f07
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.