Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch new #443

Closed
wants to merge 9 commits into from
Closed

Switch new #443

wants to merge 9 commits into from

Conversation

AJenbo
Copy link
Member

@AJenbo AJenbo commented Nov 11, 2019

I never got the time to clean up the history of #329. Since last I worked on it there have been some major changes affecting the Switch implementation, namely that controller support has now been mainlined thanks to @glebm. This has the consequence that a large number of changes from in previous PRs can now be dropped (about 1200 lines and 30 commits from the look of it) making for a much more digestible PR.

Currently, this PR is a bit rough of a rough carving but it appears to work for PC so hopfully the Switch functionality is still in a workable state. Testers are very welcome.

Note: as a consequence of the mainline controller code not being Switch centric the controller mapping will be a bit different. For now, I think we should keep this as is as more improvements are planned for the controller code (#418) and it's better to look at it once the dust settles.

Source/init.cpp Show resolved Hide resolved
Source/mainmenu.cpp Outdated Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 2 times, most recently from d345189 to eb24df6 Compare November 11, 2019 00:50
SourceX/main.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc.cpp Outdated Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 2 times, most recently from 47ff367 to 8167ee3 Compare November 11, 2019 01:15
CMakeLists.txt Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 2 times, most recently from 9a37b0c to 235b8e2 Compare November 11, 2019 01:32
CMake/nx.cmake Outdated Show resolved Hide resolved
SourceX/miniwin/misc_io.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc_msg.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc_msg.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc_msg.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc_msg.cpp Outdated Show resolved Hide resolved
SourceX/miniwin/misc_msg.cpp Outdated Show resolved Hide resolved
switch/readme-switch.md Outdated Show resolved Hide resolved
switch/readme-switch.md Outdated Show resolved Hide resolved
touch/touch.cpp Outdated Show resolved Hide resolved
touch/touch.cpp Outdated Show resolved Hide resolved
switch/switch_keyboard.h Outdated Show resolved Hide resolved
touch/touch.h Outdated Show resolved Hide resolved
SourceX/DiabloUI/dialogs.cpp Outdated Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 2 times, most recently from 9f007a2 to 0775e93 Compare November 11, 2019 02:38
@AJenbo AJenbo force-pushed the switch-new branch 6 times, most recently from 7c51045 to 16c7a0a Compare November 12, 2019 01:26
SourceX/miniwin/misc.cpp Outdated Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 4 times, most recently from 6fb2d64 to 526b5a0 Compare November 12, 2019 02:03
@@ -4,7 +4,7 @@
#include "controls/controller_motion.h"
#include "stubs.h"

#ifdef SWITCH
#ifdef __SWITCH__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to move these to CMakeLists.txt

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glebm would you be willing to make this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SourceX/controls/touch.h Outdated Show resolved Hide resolved
@AJenbo AJenbo force-pushed the switch-new branch 5 times, most recently from fc5140e to 8068dfc Compare November 23, 2019 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants