GithubHelp home page GithubHelp logo

luke18033 / hl2-gamepadui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshua-ashton/hl2-gamepadui

0.0 0.0 0.0 28.87 MB

Source code for GamepadUI for Half-Life 2 and friends.

License: MIT License

C++ 82.48% C 0.08% ReScript 17.43%

hl2-gamepadui's Introduction

Half-Life 2 GamepadUI

What is it?

Source code for the Steam Deck GamepadUI I made used by Half-Life 2, Episode 1, Episode 2 and Portal 1.

It looks like this:

Image of Half-Life 2 main menu with GamepadUI

It's definitely not the cleanest thing in existence, especially as it was pretty rushed for the Steam Deck launch. However, you may be able to get some use out of it.

What is here?

Provided is the full GamepadUI code, as well as the .vpc projects to build it.

You will need to add gamepadui for each game to your projects.vgc and groups.vgc for the Visual Studio, etc projects to be generated.

Also provided is a modified cdll_client_int.cpp with the modifications needed for GamepadUI stuff to work.
Check out the parts that reference GamepadUI and merge them into your codebase.

SDK 2013 Notes

SDK 2013 by default does not have the modifications to the regular GameUI that were made that do things such as hide the main menu logo, or have the new loading screens.
Provided in game/bin is a copy of GameUI for SDK 2013 with the modifications you can use, unfortunately the code for this cannot be provided.

Special thanks to Madi for taking my code and making it compile against SDK 2013.
Thanks to my friend Dan Smith for helping with getting some screenshots for the chapter art.

hl2-gamepadui's People

Contributors

joshua-ashton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.