LibWeb: Implement the Gamepad API with SDL3

This commit is contained in:
Luke Wilde 2025-08-18 17:27:00 +01:00 committed by Andreas Kling
parent 50dcd8fc85
commit 74e0483ea5
Notes: github-actions[bot] 2025-09-01 19:11:57 +00:00
36 changed files with 1848 additions and 50 deletions

View file

@ -4453,6 +4453,9 @@ bool Document::is_allowed_to_use_feature(PolicyControlledFeature feature) const
case PolicyControlledFeature::EncryptedMedia:
// FIXME: Implement allowlist for this.
return true;
case PolicyControlledFeature::Gamepad:
// FIXME: Implement allowlist for this.
return true;
}
// 4. Return false.