Skip to content

Commit

Permalink
Merge pull request #17 from cyrus2281/typescriptSupport
Browse files Browse the repository at this point in the history
Added TypeScript and type support
  • Loading branch information
cyrus2281 committed Aug 27, 2024
2 parents ca8063e + a675378 commit e8d0401
Show file tree
Hide file tree
Showing 11 changed files with 1,917 additions and 908 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ typings/
# Distribution
dist/es
dist/lib
dist/umd/joystick-controller.js
dist/ts
dist/umd/*

# Except this specific file
!dist/umd/joystick-controller.min.js
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Cyrus
Copyright (c) 2024 Cyrus Mobini

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Joystick Controller

![npm](https://img.shields.io/npm/v/joystick-controller)
![GitHub](https://img.shields.io/github/package-json/v/cyrus2281/joystick-controller?color=red&label=Github)
![License](https://img.shields.io/github/license/cyrus2281/joystick-controller)
[![npm](https://img.shields.io/npm/v/joystick-controller)](https://www.npmjs.com/package/joystick-controller)
[![GitHub](https://img.shields.io/github/package-json/v/cyrus2281/joystick-controller?color=red&label=Github)](https://github.com/cyrus2281/joystick-controller)
[![License](https://img.shields.io/github/license/cyrus2281/joystick-controller)](https://github.com/cyrus2281/joystick-controller/blob/main/LICENSE)
[![buyMeACoffee](https://img.shields.io/badge/BuyMeACoffee-cyrus2281-yellow?logo=buymeacoffee)](https://www.buymeacoffee.com/cyrus2281)

![joystick-controller](https://raw.githubusercontent.com/cyrus2281/joystick-controller/main/example/joystick-controller.gif)
Expand Down Expand Up @@ -121,6 +121,6 @@ joystick.destroy();

---

Copyright(c) Cyrus Mobini 2023
Copyright(c) Cyrus Mobini 2024

License MIT
2 changes: 1 addition & 1 deletion dist/umd/joystick-controller.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit e8d0401

Please sign in to comment.