Skip to content

Instantly share code, notes, and snippets.

View njbmartin's full-sized avatar
:octocat:
Focusing

Nicholas Martin njbmartin

:octocat:
Focusing
  • United Kingdom
  • 13:02 (UTC +01:00)
View GitHub Profile
at Corale.Colore.Core.NativeWrapper.CreateMouseEffect(Effect effect, IntPtr param)
at Corale.Colore.Core.NativeWrapper.CreateMouseEffect[T](Effect effect, T struct)
at Corale.Colore.Core.NativeWrapper.CreateMouseEffect(CustomGrid effect)
at Corale.Colore.Core.Mouse.SetGrid(CustomGrid effect)
at Corale.Colore.Core.Mouse.SetAll(Color color)
at Corale.Colore.Core.Chroma.SetAll(Color color)
DWORD WINAPI Thread_LoadingAnimationOnMice(LPVOID lpParameter)
{
if(CreateMouseEffect)
{
// This works too!
// Using old interface.
//ChromaSDK::Mouse::CUSTOM_EFFECT_TYPE CustomEffect = {};
//CreateMouseEffect(ChromaSDK::Mouse::CHROMA_CUSTOM, &CustomEffect, NULL);
local Colore = clr.Corale.Colore.Core
local Thread = clr.System.Threading.Thread
local c = Colore.Color.Purple
local Key = clr.Corale.Colore.Razer.Keyboard.Key
local Colors = {
Background = Colore.Color(10, 10, 10),
One = Colore.Color.Pink,
}
"product":{
"name":"CS:GO Chromatic",
"author":"Razer Official",
"description":"Provides awesome effects for CSGO",
"version":"1.0.1",
"type":"Game"
}
local Colore = clr.Corale.Colore.Core
local Thread = clr.System.Threading.Thread
local c = Colore.Color.Purple
local Colors = {
Background = Colore.Color(60, 60, 60),
One = Colore.Color(255,0,0),
Two = Colore.Color(255,0,0),
Three = Colore.Color(255,0,0),
}
using Corale.Colore.Core;
using Corale.Colore.Razer.Keyboard;
// Option 1
void SayThanks()
{
Key[] keys = {
Key.T,
Key.H,
Key.A,
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="UTF-8">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="root"></div>
</body>
const path = require('path')
module.exports = {
entry: './src/index.js',
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist')
}
}
const path = require('path')
module.exports = {
entry: './src/index.js',
target: 'node', // support native modules
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist')
}
}
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(port, () => console.log(`Example app listening on port ${port}!`))