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

[ENHANCEMENT] automatically opening app/game in new tab #6

Open
Trickiy opened this issue Feb 11, 2024 · 16 comments
Open

[ENHANCEMENT] automatically opening app/game in new tab #6

Trickiy opened this issue Feb 11, 2024 · 16 comments
Labels
enhancement New feature or request

Comments

@Trickiy
Copy link

Trickiy commented Feb 11, 2024

I realized that when apps/games are opened in a new tab the b button won't exit the page. Which would prevent users from accidentally exiting apps/games.

@Wolfyxon Wolfyxon added the enhancement New feature or request label Feb 12, 2024
@Wolfyxon
Copy link
Owner

I'm not sure. I should probably first make a settings menu since this might get a bit annoying sometimes so it can be turned off.

@Trickiy
Copy link
Author

Trickiy commented Feb 13, 2024

After thinking and realizing that the L/R triggers are also disabled it might be possible to use some of the old input detection system code.(specifically the parts that reconize the L/R triggers) which would allow for more things to be possible. like being able to use the triggers for jetfighter allowing lobbying of bombs and launching homing missles, and use them to control the camera instead of the D-pad for 3d games giving more freedom of movement.

@Wolfyxon
Copy link
Owner

I utilize all the usable buttons. Buttons such as L can only be detected on the New 3DS using the gamepad API, but you can't stop the browser from doing their default action - in this case showing the history (or bookmarks, don't remember exactly).

@Trickiy
Copy link
Author

Trickiy commented Feb 13, 2024

So it's not possible to make L/R do the default action and a second action on top of it.

@Wolfyxon
Copy link
Owner

It is possible but only on the New 3DS and I think it would be annoying to open browser menus whenever you have to do something in the game.

@Trickiy
Copy link
Author

Trickiy commented Feb 14, 2024

But having the game open in a new tab and press L/R doesn't open the browser menus. So are you saying you want the games to be the same on old and new 3ds's? If so yes it would be annoying. So I guess I am asking for new 3ds exclusive games then.

@Wolfyxon
Copy link
Owner

Oh sorry I mistook L and R buttons with the smaller ones, that would work but yeah it would be a N3DS exclusive sadly.

@Trickiy
Copy link
Author

Trickiy commented Feb 15, 2024

So can new 3ds mode be a toggle in settings so that the 3d gun game and more could be more playable on new 3ds while keeping it playable on old, and I quickly need to say off topic I know but it's lent right now and my family is giving up tech so I will be quiet till easter sadly.

@Wolfyxon
Copy link
Owner

Wolfyxon commented Feb 16, 2024

This would require a partial rollback to the old input detection system since the Webkit gamepad API does not have events and the inputs must be checked in a loop which lowers the performance, but I'll think about it if there's a better way.

lent right now and my family is giving up tech so I will be quiet till easter sadly.

Alright see you soon and thanks for you help!

@magiczocker10
Copy link
Contributor

The idea isn't bad, but don't know how we should do it for old 3DS. It doesn't have tabs.

@Trickiy
Copy link
Author

Trickiy commented May 6, 2024

Just have the feature be new 3ds only or somehow make tabs functional on I want to say client side but it sounds wrong eh you understand.

@Trickiy
Copy link
Author

Trickiy commented May 7, 2024

The idea isn't bad, but don't know how we should do it for old 3DS. It doesn't have tabs.

After thinking for a while clearing previously viewed links from recent history stored in the back arrow after opening a game or app would probably work. How would it be done? dk

@Wolfyxon
Copy link
Owner

Wolfyxon commented May 8, 2024

JavaScript executed on pages can't do such things. It would require hijacking the browser.

@Trickiy
Copy link
Author

Trickiy commented May 8, 2024

I personally would've tried to highjacking the browser already just to remove the limitation that are placed on the browser. Also maybe using a different language along side JavaScript would have usefull functionality that possibly could do the clearing without hijacking.

@Wolfyxon
Copy link
Owner

Wolfyxon commented May 8, 2024

JavaScript is the only programming language that can be executed on the 3DS browser (except HTML and CSS but they're not really programming languages), JavaScript is especially made for the web. Also no matter the language, the browser would never allow any page to elevate its permissions to the point where it changes the browser itself.

@Trickiy
Copy link
Author

Trickiy commented Jun 5, 2024

I'm curious to know what happens when someone opens the website via the qr code On old 3ds? Because on new 3ds it automatically opens in a new tab. Does the old 3ds do something similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants