-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Native Silk.Net Gamepad to control C64 Joystick. * Web WASM Gamepad to control C64 Joystick.
- Loading branch information
Showing
23 changed files
with
435 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
|
||
# Runs a single command using the runners shell | ||
- name: SonarScanner for .NET 7 with pull request decoration support | ||
uses: highbyte/[email protected].4 | ||
uses: highbyte/[email protected].6 | ||
with: | ||
# The key of the SonarQube project | ||
sonarProjectKey: highbyte_dotnet-6502 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/apps/Highbyte.DotNet6502.App.SkiaNative/SilkNetImGuiMenu.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/libraries/Highbyte.DotNet6502.Impl.AspNet/Commodore64/Input/C64AspNetGamepad.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using Highbyte.DotNet6502.Systems.Commodore64.TimerAndPeripheral; | ||
|
||
namespace Highbyte.DotNet6502.Impl.AspNet.Commodore64.Input; | ||
|
||
public static class C64AspNetGamepad | ||
{ | ||
public static Dictionary<int[], C64JoystickAction[]> AspNetGamePadToC64JoystickMap = new() | ||
{ | ||
{ new[] { 0 }, new[] { C64JoystickAction.Fire } }, | ||
{ new[] { 12 }, new[] { C64JoystickAction.Up} }, | ||
{ new[] { 13 }, new[] { C64JoystickAction.Down } }, | ||
{ new[] { 14 }, new[] { C64JoystickAction.Left } }, | ||
{ new[] { 15 }, new[] { C64JoystickAction.Right } }, | ||
}; | ||
} |
Oops, something went wrong.