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

Mac Keyboard Support #1

Open
Busybody64 opened this issue Oct 8, 2021 · 33 comments
Open

Mac Keyboard Support #1

Busybody64 opened this issue Oct 8, 2021 · 33 comments
Labels
Compatibility I don't like messing with OS support.

Comments

@Busybody64
Copy link

I can't get it to work right on macbook.
We don't have an alt key.
You should maybe change it so that it'll also work with command or option keys on a macbook.

@Perodactyl

This comment has been minimized.

@Perodactyl
Copy link
Owner

Perodactyl commented Oct 8, 2021

What the flip, gmail?!
Allow me to translate and remove broken HTML comments that windows managed to shove into that reply.
I don’t know how to integrate the cmd key. What I do know is that after installation, you can use the following command to run it.
'js /a/appMan/start.js'
I suggest making a shortcut for this.
Right click > Create Shortcut
Input the command mentioned for the command box and give it whatever name and icon you want.

I will try to implement command key, in the mean time.

@Perodactyl
Copy link
Owner

Also, what keys do you use for alt and command?
I’d guess alt is the same as option and is next to spacebar, and command is control, in the corner next to fn.

I have no idea what a macbook’s keys are like. If I could learn from you I would appreciate it.

@Busybody64
Copy link
Author

CTRL is to the right of FN, to the right of CTRL is option, then command is in between option and space. (there's another command right after the space, plus another option right next to the arrow keys)

@Busybody64
Copy link
Author

Busybody64 commented Oct 8, 2021

Also, I WAS using that shortcut.
It just wants me to reboot, and it does seem to only have the test app there.
(also also, you really need to make uninstalling app manager easier)

@Perodactyl
Copy link
Owner

Oh. To uninstall, go to terminal and type uninstallappMan().
Really should make it possible to learn that.
The test app is hardcoded because I havent gotten around to other things. First I need something that I know what it will look like.

@Perodactyl
Copy link
Owner

You're saying that CMD is like the windows key and OPTION Is like ALT?

@Busybody64
Copy link
Author

Yeah, something like that...

@Perodactyl
Copy link
Owner

Ok. now also: are either of the two keys used by the system or browser in ways that might interfere with the app manager?

P.S: Sorry for all the questions.

@Busybody64
Copy link
Author

Busybody64 commented Oct 9, 2021 via email

@Perodactyl
Copy link
Owner

Ok. Thanks!

@Busybody64
Copy link
Author

No problem.

@Busybody64
Copy link
Author

Busybody64 commented Oct 12, 2021

Also you could make the appmanager gui look more like this:

https://github.com/protogenraymond/sus93plus

@Busybody64
Copy link
Author

Is this dead?

@Perodactyl
Copy link
Owner

Eh. Sorry, but kinda.

@Perodactyl
Copy link
Owner

It is no longer dead, I just worked on it a whole bunch.

@Perodactyl
Copy link
Owner

Can I close this issue?

@Perodactyl
Copy link
Owner

Can I close this issue?

Never mind. If you want, you can try and get this program working.

@Perodactyl Perodactyl added the Compatibility I don't like messing with OS support. label Nov 22, 2021
@Busybody64
Copy link
Author

Busybody64 commented Nov 30, 2021

I never dealt with mac support before

@Perodactyl
Copy link
Owner

Huh. Does it at least work fine?

@Busybody64
Copy link
Author

The MacKeys didn't work.

Option+A and Command+A did nothing.

You should probably see if you could get it to actually register one of the two keys (Option or Command) as the ALT key.

@Perodactyl
Copy link
Owner

Okay. I'll try this again.

@Perodactyl
Copy link
Owner

Can you try it now after updating?

@Busybody64
Copy link
Author

Still does nothing.
You might need to look up how to get mac keys to work with js.

@Perodactyl
Copy link
Owner

Ok. I did, and the library seems pretty intuitive, but it won't work. I'll try and fix it up.

@Perodactyl
Copy link
Owner

I found this neat macOS emulator I'll try to test with.

@Perodactyl
Copy link
Owner

Or... maybe not. It seems very, absurdly old. Can you help me find a mac emulator?

@Busybody64
Copy link
Author

Busybody64 commented Dec 3, 2021

Try to use metakeys
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey
I found a page that might help

@Perodactyl
Copy link
Owner

Ok! The question is option. Can you find out about the option key, or are you fine with command?

@Perodactyl
Copy link
Owner

This says that altKey is . Strange.

@Perodactyl
Copy link
Owner

Have you tried Option+A yet?

@Perodactyl Perodactyl changed the title Mac help Mac Keyboard Support Dec 3, 2021
@Busybody64
Copy link
Author

Busybody64 commented Dec 3, 2021

I honestly think Command works fine, but option didn't work either, so... uh.... yeah.

Edit: NEVER MIND, USE OPTION, COMMAND+A TRIGGERS SELECT ALL

@Perodactyl
Copy link
Owner

Ok. That makes sense why it does. Like Ctrl+A on windows and ubuntu. The issue is that I can't seem to get Option to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compatibility I don't like messing with OS support.
Projects
None yet
Development

No branches or pull requests

2 participants