logicallysynced / Chroma-for-Stardew-Valley

Chroma for Stardew Valley is a lightweight Windows application which connects Stardew Valley with Razer Chroma devices. You can use this to make your keyboard, mouse, headset, etc. react to events, elements & other in-game functions by creating visual alerts using the devices' countless lighting options.
20 stars 6 forks source link

Modify highlight control keys for AZERTY keybord #9

Closed Hoffmann76 closed 7 years ago

Hoffmann76 commented 7 years ago

Hi , sorry for my bad English i'am french ! Congratulation for this very good work ! I just want to know if somebody could help me to rebind the highlight control keys for AZERTY french keybord please ? (Z.Q,S,D for move , M for map ) I'am beginner with chroma app so any help would be apprecied !!! Keep up the good job and have a nice days !!!

Cheers from France , Hoffmann

logicallysynced commented 7 years ago

Release 1.8 adds support for this, however it is currently untested.

https://github.com/roxaskeyheart/Chroma-for-Stardew-Valley/releases

Hoffmann76 commented 7 years ago

Thanks a lot , i test this right now !!

Hoffmann76 commented 7 years ago

i just tested it , windows smartscreen on windows 10 want a confirmation for execute , after that the backlight switch blue and when you launch Stardew Valley , the slinding rainbow effect always continue ! Thanks you for your help !!

Hoffmann

logicallysynced commented 7 years ago

make sure you are running as administrator

Hoffmann76 commented 7 years ago

Same result running as administrator , rainbow effect ! i specify with your 1.7 version i have no issues except the US layout !!

logicallysynced commented 7 years ago

Does this work any better? chroma_stardewvalley1-8b.zip

Hoffmann76 commented 7 years ago

Sorry , this doesn't work any better , testing it half a day in Stardew Valley , always the rainbow effect

logicallysynced commented 7 years ago

Hmm I'll have to investigate further into this then as its the exact same as 1.7 other than switching around two key lights.

Hoffmann76 commented 7 years ago

Thanks for your help , i'am at your service for testing app !!

Maybe a way here : (from razer dev portal) How do I code for the various regional layouts and Razer’s line of laptops accurately using the BlackWidow Chroma?

From SDK version 1.6, we will provide a new API that allows you to accurately map the BlackWidow Chroma effects across for both our keyboards and laptops. For existing integrations, the change will only require you to change a few lines of code. Chroma SDK new API – (CHROMA_CUSTOM_KEY (effect) & CUSTOM_EFFECT_KEYS_TYPE (data)) CHROMA_CUSTOM acts like a drawing canvas while CHROMA_CUSTOM_KEY gives you the canvas plus key effects regardless of physical or region layout. This new API allows developers to create effects on keyboard without having to worry about the location of the physical keys. The data structure contains 2 x 2D array with one represents a canvas and the other key effects. For an example, when an animated effect (wave) with blinking W, A, S, D effect runs on a BW Chroma with US layout, you will see the wave effect as the background and blinking W, A, S, D overlaying on top. Running this on a Blade will see the exact result despite the Blade having a different physical key layout compared to a BW Chroma. Running this effect on a French layout BW Chroma will yield the same result even though the localized key layout is different. The difference between CHROMA_CUSTOM_KEY and CHROMA_CUSTOM is with CHROMA_CUSTOM, the effect will appear at the location as it is. Hence, different keyboard layouts will result in the effect appearing differently. With CHROMA_CUSTOM_KEY, the developer is guaranteed that effect appears the same for all keyboard layouts.

Hoffmann76 commented 7 years ago

Sorry after the works i tested again your last release (1.8b), at home and ... it's works !!! I had forgotten to check the cases "Beta" and "French" in the settings control panel ... !! The direction key ZQSD are highlighted correctly but the "M" key for Stardew Map highlight the ",?" on the french layout , this is the last little thing to correct and after that it will be great !! Thanks for all ,

Hoffmann

logicallysynced commented 7 years ago

I will build this into a release tomorrow. Can you please post a clear photo of a French keyboard (or link one from Google) so I can see the key layout if possible?

Hoffmann76 commented 7 years ago

For sure ! I take a photo from my smartphone of my BlackWidow with your App running (in French layout) It's readable enought ?

img_1867

Hoffmann76 commented 7 years ago

I just wanted to know if it's hard to learn C # and make apps like yours for a beginners ?

Good luck for the release !!

Hoffmann

Hoffmann76 commented 7 years ago

Did you release the last version ?

Thanks

logicallysynced commented 7 years ago

Should be fixed in 1.8.1

https://github.com/roxaskeyheart/Chroma-for-Stardew-Valley/releases