-
Notifications
You must be signed in to change notification settings - Fork 4
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
layout designer doesn't work for Razer Naga Trinity #5
Comments
I haven't yet gotten around to written any documentation on the layout designer, so i'll give you a quick run down of what is supposed to happen here in the mean time. ViewsUnfortunately, it is not possible to know what views are available, because in effect there are now none by default. A recent change to OpenRazer means that they only ever return 1 image for a device (this is due to maintenance burn on their part actually finding good images). Part of the reason for layouts is to bring back this functionality. The ultimate idea is that users can create and share layouts. So any views over and above Top that you create, you must find you own images for. Layouts can be exported as zip files for sharing that contain any images you added, copyright allowing of course! You should also see a Matrix view, that is simply a grid. The size of this grid IS fixed and is provided by OpenRazer. The matrix view shows only LED components. All views other than matrix have a background (as you have discovered) that can come from the internet or a local file (local files will be bundled into exported layouts). There is indeed a bug with monochrome filter, it seems to increase the transparency as well. There different views may then be used in other areas of Snake.
EditingEach views editor allows 4 components types to be added, depending on the hardware.
You select the component type in the area at the top left using the radio buttons. The icon to the right of the label near that radio button can then be dragged on to the diagram. If you can't drag any icons here, there must be a bug. Once you have dragged element(s) to the diagram, you can then change the individual properties of each component in the Component tab. What is available will depend on the type of component. The usual selection shortcuts for multiple selection should work, Ctrl+A, Ctrl+Click, Shift+Click, as should drawing a box. That should be enough for now. This info will at some point be tidied up and put in the README. Finally ... A new version of Snake should be ready by this weekend. I have fixed a few layout editor related bugs, maybe this was already covered. I will review before publishing. |
It seems there is still an issue editing the views for the Naga Trinity. I put together a video to help illustrate the current experience. I can drag in an element into the diagram, but I don't appear to be able to select it in order to assign a function to it. None of the shortcuts for multiple selections which you mentioned seem to work either. Hope that helps. SnakeLayout-2021-11-14_15.57.24.mp4 |
Thanks for the video, very helpful. Yeh, that's not what I'd expect to see. I have a feeling I may know the issue here though, I suspect it is a problem with i18n resources for the layout designer that shows itself when a device that has In the meantime, you could confirm this by running snake from a terminal so you can see console output. Hopefully there will be some error output if you then go to the layout designer. |
https://gist.github.com/thelegendofbrian/8b3bb2c5c5e9dd7ce4e2513fac80476a#file-snake-output-L45 |
Ok yeh, thats a separate issue. It looks like macrolib macro system has been activated. This happens when snake has permission to read/write The other error you are getting with the actual designer is not the one I expected, but nonetheless the trace you provided will be useful, and I should be able to get a fix for this in the next update.
Great to hear :) Once you've got a good layout for this device I'd love to add it permanently to Snake. After all, this particular feature is going to need good tools and enthusiastic contributors! |
That got rid of this exception just like you said:
I definitely plan to provide a layout when the time is right. |
Snake's main menu lists my Razer Naga Trinity correctly as far as I can tell, though I don't know what v1.2 is referring to, it's name and image are correct and the long hex matches the mouse's S/N. When I click to the lighting menu the only option under the
Effects
drop-down menu isStatic
. I'm not sure how many lights are in this mouse or other limitations but hopefully that can be expanded one day. Far below that in the bottom-left corner is aDesign
button that opens aLayout Designer
. It doesn't seem possible for me to select or drag anything anywhere no matter if I click, make a selection rectangle, drag, etc. Nothing shows any sign of interactivity or drag-ability. When I clickView
I can select options from thePosition
drop-down menu which update the text on the left side of the screen to match the selected position so I know the drop-down is doing something, but nothing else seems to change unless I selectBOTTOM
,FRONT
, orBACK
, all of which make the image of the mouse disappear. Perhaps those three views are unsupported for this model and shouldn't be in the drop-down menu for it?TOP
,SIDE_1
,SIDE_2
,THREE_D_1
, andTHREE_D_2
all show the same image identically so much so that I wouldn't think the menu was working except that it does change the left text toThreeD 1
or similar as I change my drop-down selections. No matter what I try in various combinations of this UI, nothing is drag-able. The size slider works, the transparency slider works, togglingMonochrome
doesn't seem to make anything grayscale coloring as I expected, instead makes the mouse image seem like I set it to 60% transparency. I've used snake for less than 30 minutes so perhaps I don't understand something.snake version:
openrazer version:
OS version:
OS kernel version:
The text was updated successfully, but these errors were encountered: