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

add wheel effect #338

Merged
merged 1 commit into from
Apr 6, 2021
Merged

add wheel effect #338

merged 1 commit into from
Apr 6, 2021

Conversation

stevenliuyi
Copy link
Contributor

Add wheel effect to resolve #325

@dhobi
Copy link
Collaborator

dhobi commented Apr 1, 2021

Wow, works great and looks so cool!! 👍

I really regret that I put the col/row properties in the feature config and not to the device itself. It would have saved you some work/time I guess. I'm sorry about this. I'll happily clean that after we merge your PR.

Edit: This PR will also fix #57

@1kc
Copy link
Owner

1kc commented Apr 6, 2021

Apologies for the delay guys. Will merge and release!

@1kc 1kc merged commit 1ecf925 into 1kc:master Apr 6, 2021
@1kc
Copy link
Owner

1kc commented Apr 6, 2021

Screen Shot 2021-04-07 at 1 13 30 am

I might change this to make it just to be 'disabled', since it does extend the menu width by quite a bit.

@1kc
Copy link
Owner

1kc commented Apr 6, 2021

Is there a reason for keyboards having 'wheel' effects @stevenliuyi?. (https://github.com/stevenliuyi/razer-macos/blob/296abf2e350d798954e4ef43da38709b1bb114bc/src/devices/huntsman_elite.json)

It shows up as an option for my keyboard but its greyed out with 'Wheel (missing rows, col config)'

Will release for now though.

@Sharptail
Copy link

Ermm, wheel effect not showing up for razer basilisk ultimate?

Screenshot 2021-04-07 at 12 14 08 AM

@1kc
Copy link
Owner

1kc commented Apr 6, 2021

I've made the latest release a 'pre-release'. Not exactly sure how to fix it until I have clarification from the others.

@avi-guha
Copy link

avi-guha commented Apr 6, 2021

Uploading Screen Shot 2021-04-06 at 5.21.30 PM.png… It works for me

@1kc
Copy link
Owner

1kc commented Apr 6, 2021

It works for me

I couldn't see you screenshot could you please reupload or let me know what device it was? Thanks

@avi-guha
Copy link

avi-guha commented Apr 6, 2021

It is a Blackwidow Elite
Screen Shot 2021-04-06 at 5 48 23 PM

@1kc
Copy link
Owner

1kc commented Apr 6, 2021

My bad 🤦. I thought wheel effect was for mice, makes sense now

@stevenliuyi
Copy link
Contributor Author

My bad 🤦. I thought wheel effect was for mice, makes sense now

Yes, it's only for keyboards.

A side note: I don't have a Windows PC right now, so I can't use Synapse 3 to set the official wheel effect on my keyboard. My implementation is just based on the official Youtube video (https://www.youtube.com/watch?v=KGURYdPXJe4), so it may well not be a very accurate replica.

@stevenliuyi
Copy link
Contributor Author

Is there a reason for keyboards having 'wheel' effects @stevenliuyi?. (https://github.com/stevenliuyi/razer-macos/blob/296abf2e350d798954e4ef43da38709b1bb114bc/src/devices/huntsman_elite.json)

It shows up as an option for my keyboard but its greyed out with 'Wheel (missing rows, col config)'

Will release for now though.

Do you still have the wheel effect greyed out with Huntsman Elite? It seems weird since the configuration is already added on https://github.com/1kc/razer-macos/blob/master/src/devices/huntsman_elite.json

@stevenliuyi
Copy link
Contributor Author

Is there a reason for keyboards having 'wheel' effects @stevenliuyi?. (https://github.com/stevenliuyi/razer-macos/blob/296abf2e350d798954e4ef43da38709b1bb114bc/src/devices/huntsman_elite.json)
It shows up as an option for my keyboard but its greyed out with 'Wheel (missing rows, col config)'
Will release for now though.

Do you still have the wheel effect greyed out with Huntsman Elite? It seems weird since the configuration is already added on https://github.com/1kc/razer-macos/blob/master/src/devices/huntsman_elite.json

Actually, I just found out the issue. I'll fix it soon.

@1kc
Copy link
Owner

1kc commented Apr 7, 2021

Sounds good @stevenliuyi. I think this one might be related also #342

@avi-guha
Copy link

avi-guha commented Apr 7, 2021

The colouration is slightly off in one corner (pink is too light). The wheel effect follows the same colours as the wave effect but in a circular pattern if that helps. Also, the speed feature is now glitched and the wheel is frozen at a specific pattern - which is good so I can take a picture and show you the colouration.
IMG_1944

@stevenliuyi
Copy link
Contributor Author

Sounds good @stevenliuyi. I think this one might be related also #342

It should be fixed by #343

@1kc
Copy link
Owner

1kc commented Apr 7, 2021

Sounds good @stevenliuyi. I think this one might be related also #342

It should be fixed by #343

That PR #343 doen't include any changes for Blackwidow V3, you think it will still fix it?

@stevenliuyi
Copy link
Contributor Author

Sounds good @stevenliuyi. I think this one might be related also #342

It should be fixed by #343

That PR #343 doen't include any changes for Blackwidow V3, you think it will still fix it?

It seems that the configuration for Blackwidow V3 has been missing since the last release. I just added the configuration, so it should be good now.

@1kc
Copy link
Owner

1kc commented Apr 7, 2021

Ah cheers @stevenliuyi, I will release it now.

@stevenliuyi
Copy link
Contributor Author

@avigucci

matrix[i][j] = Object.values(tinycolor(`hsv(${360-angle},70%,100%)`).toRgb()).slice(0, 3);

Right now the saturation is set to be 70%. I think increasing the saturation should help. Maybe someone can test to see what would be the best value that matches the official effect? Perhaps it should be just 100%?

@1kc
Copy link
Owner

1kc commented Apr 7, 2021

Just tested it on my huntsman, it works and is indeed very cool!

@avi-guha
Copy link

avi-guha commented Apr 8, 2021

@1kc
Epic, hopefully, we'll see it in the next update. Thanks again! :)

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.

Wheel Effect
5 participants