aura-sdk icon indicating copy to clipboard operation
aura-sdk copied to clipboard

Add support for the keyboard

Open DanielRamosAcosta opened this issue 6 years ago • 12 comments

Fixes #1

@enteryournamehere, @kekkokk could you try this branch? I don't have a ROG keyboard so I can't check this is working.

Please, execute the example/rainbow.js and see if it works.

git clone [email protected]:DanielRamosAcosta/aura-sdk.git
cd aura-sdk
git checkout keyboard-support

Download ASUS SDK and place it in the root of the working directory, so it remains like this: https://i.imgur.com/rH9dXna.png

npm install
npm run compile:cpp
npm run compile:ts
node ./example/rainbow.js

DanielRamosAcosta avatar May 26 '18 14:05 DanielRamosAcosta

Thank you, will try it ASAP when I'm home (next 24 hours)

enteryournamehere avatar May 26 '18 18:05 enteryournamehere

Nope I cannot make it to run

`C:\Users\Duri\Desktop\aura-sdk-keyboard-support>node example\rainbow.js DRAM controller isn't supported Entering setupKeyboard I'm going to execute createClaymoreKeyboard

C:\Users\Duri\Desktop\aura-sdk-keyboard-support>`

Also including ClaymoreProtocol.dll (which is absolutely needed btw) no way to reach

    printf("All ended OK\n");

kekkokk avatar May 27 '18 12:05 kekkokk

Didn't know about that DLL, I'll try it when I arrive home

DanielRamosAcosta avatar May 27 '18 12:05 DanielRamosAcosta

I managed to get it working! It's the same that with the GPU, the DLL has to be in the CWD.

DanielRamosAcosta avatar May 27 '18 15:05 DanielRamosAcosta

Could you pull and try again plase @enteryournamehere , @kekkokk?

DanielRamosAcosta avatar May 27 '18 15:05 DanielRamosAcosta

Ok so, running example, it seems it can take the control of the keyboard since it turns black when launching script but no colors are displayed

kekkokk avatar May 27 '18 20:05 kekkokk

I've added some log, can you share the output?

DanielRamosAcosta avatar May 27 '18 21:05 DanielRamosAcosta

yeah, this evening after work

kekkokk avatar May 28 '18 07:05 kekkokk

I am getting this:

(...)\aura-sdk> node example\rainbow.js
warning: controllerCountMb < 1
DRAM controller isn't supported
warning: controllerCountKeyboard < 1

I do have a compatible keyboard, as far as I know - I have a ROG Strix GL503VD-FY127T with an Aura rgb keyboard.

Here is the output from npm install, maybe those warnings have something to do with it? (of course I can paste the output here if you want)

enteryournamehere avatar May 28 '18 13:05 enteryournamehere

@enteryournamehere That's an error that happens sometimes to me... Can you try changing the color with Aura software, and then execute the script again?

DanielRamosAcosta avatar May 28 '18 13:05 DanielRamosAcosta

I've changed the colour with Aura software but the script still gives the same error.

enteryournamehere avatar May 28 '18 13:05 enteryournamehere

I've no idea 😢. Sorry but I don't have that keyboard to test...

DanielRamosAcosta avatar May 30 '18 12:05 DanielRamosAcosta