solidhal / stiky Goto Github PK
View Code? Open in Web Editor NEWstiky is a dual (or single) stick text input and navigation system
stiky is a dual (or single) stick text input and navigation system
setting up a joycon test: kernel driver: First, install dkms-hid-nintendo: hid-nintendo is present on Linux's Kernel starting from 5.10 If your kernel is 5.10 or above, skip this step. git clone https://github.com/nicman23/dkms-hid-nintendo cd dkms-hid-nintendo sudo dkms add . sudo dkms build nintendo -v 3.0 sudo dkms install nintendo -v 3.0 userspace: Then, install joycond: git clone https://github.com/DanielOgorchock/joycond cd joycond sudo apt install cmake libevdev-dev cmake . sudo make install sudo systemctl enable --now joycond udev rules, likely not needed: /etc/udev/rules.d/50-nintendo-switch.rules ``` # Switch Joy-con (L) (Bluetooth only) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:057E:2006.*", MODE="0666" # Switch Joy-con (R) (Bluetooth only) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:057E:2007.*", MODE="0666" # Switch Pro controller (USB and Bluetooth) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0666" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", KERNELS=="0005:057E:2009.*", MODE="0666" # Switch Joy-con charging grip (USB only) KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0666" ``` now to get the info in python. First need to id the combined device: 1) pair by holding the battery level buttons 2) press L+R to create combined device # for raw data: python3 ./.local/lib/python3.8/site-packages/evdev/evtest.py # for basic analog stick handling ./joycon-test.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.