Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 23:59
    QuiNz0r opened #281
  • Jul 03 17:03
    poveden commented #279
  • Jun 18 19:31

    Sharparam on 6.0.0

    Disable coverage reports on Tra… Update GitHub target in Cake I… Use Cake in GitHub actions (compare)

  • Jun 18 19:21

    Sharparam on 6.0.0

    Fix invalid table formatting (compare)

  • Jun 18 19:20

    Sharparam on 6.0.0

    Add note in readme about pre-re… Configure indent size for markd… Make top of README prettier and 8 more (compare)

  • Jun 18 18:22

    Sharparam on 6.0.0

    Use dotnet tool version of Repo… Move coverage report generation… Add zip of coverage report and 2 more (compare)

  • Jun 18 16:47

    Sharparam on 6.0.0

    Fix commented code (compare)

  • Jun 18 15:59

    Sharparam on 6.0.0

    Fix old paths in GitHub Actions… Fix parameter parsing in build.… (compare)

  • Jun 18 15:36

    Sharparam on 6.0.0

    Switch to using Cake as a dotne… Use GitVersion as a dotnet tool Use uppercase "V" for verbosity and 5 more (compare)

  • Jun 18 01:14

    Sharparam on gh-pages

    [AUTOMATED] Documentation updat… (compare)

  • Jun 18 01:11

    Sharparam on v6.0.0-rc14

    (compare)

  • Jun 18 01:02

    Sharparam on 6.0.0

    Fix glob pattern in cache key Update artifact paths (compare)

  • Jun 18 00:48

    Sharparam on 6.0.0

    Fix glob paths for artifacts (compare)

  • Jun 18 00:45

    Sharparam on 6.0.0

    Upgrade Travis dist to bionic Enable main GitHub Action workf… Create some artifacts in GitHub… (compare)

  • Jun 18 00:12

    Sharparam on 6.0.0

    Fix caches Remove Coveralls integration Add GitHub Actions workflow (compare)

  • Jun 17 23:58

    Sharparam on 6.0.0

    Handle RC tags in docs script Skip restore when running tests Remove outdated code and 2 more (compare)

  • Jun 17 20:08

    Sharparam on 6.0.0

    Add missing newline Add OldStyle option back to Ope… (compare)

  • Jun 17 20:00

    Sharparam on 6.0.0

    Use Path32 register mode for Op… (compare)

  • Jun 17 19:55

    Sharparam on 6.0.0

    Update OpenCover settings (compare)

  • Jun 17 19:32

    Sharparam on gh-pages

    [AUTOMATED] Documentation updat… (compare)

Bart van Vliet
@Kapulara
Alrighty, I wan't to detect what key is pressed on the keyboard and then set that color to red for example
How would i do that ?
Brandon Scott
@brandonscott
Do you know how to do key detection?
Because that's a different feature entirely and outside of the scope of the library
Bart van Vliet
@Kapulara
IKeyboardInterceptor i guess :)
I'm just trying to find a direction i need to go in. I'm kinda making paint in C# to export and use later on. I'll explain a bit more once i get it working :)
(With Chroma)
Brandon Scott
@brandonscott
Okay, so first thing first
Are you using WPF or WinForms?
Bart van Vliet
@Kapulara
I'm guessing WinForms...
How can i check ?
Brandon Scott
@brandonscott
Lets assume winforms
So do you know how to add an event handler?
Bart van Vliet
@Kapulara
Yeah.
Brandon Scott
@brandonscott
Awesome
On your form
Bart van Vliet
@Kapulara
As key handler with event
Brandon Scott
@brandonscott
Perfect!
Nice job.
Bart van Vliet
@Kapulara
But it's not triggering Macro keys xD
Brandon Scott
@brandonscott
Does it work for any key>?
Brandon Scott
@brandonscott
Awesome
Adam Hellberg
@Sharparam
WinForms handles keys that propagate through the system, macro keys on the blackwidow are not system keys and are handled specifically by Razer's drivers. you cannot intercept them through regular system calls (and AFAIK razer doesn't expose anything to capture them)
Brandon Scott
@brandonscott
That is correct.
I wish they did though.
So you'; have to work with the System keys I'm afraid.
Bart van Vliet
@Kapulara
Yeah, Cause now i can't kinda detect whether or not the key is pressed :/
Brandon Scott
@brandonscott
Ignore Macro keys for now
Bart van Vliet
@Kapulara
Alrighty
Ah i could use them for navigating / menu etc.
OH no
I can't detect
....
Nvm. Il leave them blank :)
So now i have a KeyCode, Can i use a KeyCode with Colore?
Or do i have to convert it to numeric ?
I'm guessing this is a yes.
Brandon Scott
@brandonscott
@Sharparam Did something similar to this
Adam Hellberg
@Sharparam
i just manually mapped system keys to razer keys, as there's no efficient way to make an automatic mapping due to the philosophy of the designs
razer's key enums are defined based on grid location while system keys are defined based on some standard in the libraries
Bart van Vliet
@Kapulara
Do you have a source?
Bart van Vliet
@Kapulara
@Sharparam thank you so mutch! :heart:
Adam Hellberg
@Sharparam
these are for WPF keys, mind
you'll have to adapt it to the enum WinForms uses
Brandon Scott
@brandonscott
That must have been tedious @Sharparam
Adam Hellberg
@Sharparam
determination is a hell of a drug