Travis CI badge Circle CI badge GitHub Actions badge Coverage badge LGTM badge npm badge pub.dev badge Download count badge
The evdev joystick code in RPCS3 is primarily designed to use XBox controllers by default. For other controllers, you'll probably need to make a few changes.
Configuration is stored in $HOME/.config/rpcs3/config_linuxjoystick.yml. The easiest way to test your joystick is with the PS3 Game Pad Test homebrew.
/ square root of double precision epsilon (sqrt(2^-52)) | |
E:1.4901161193847656e-8 | |
/ abs[x]: absolute value of x | |
abs::$[x>0;x;-x] | |
/ xeq[x;y]: tests if x and y are approximately equal (difference is <sqrt(epsilon)) | |
xeq::E>abs x-y | |
/ sb[q] Stern-brocot tree search, e.g. sbt[1%3] returns (1 3) | |
sbt:{[q]+/({[q;LH]~xeq[q;%/+/LH]}q;{[q;L;H]$[q>%/M:L+H;(M;H);(L;M)]}[q].)/:(0 1;1 0)} | |
/ benchmark: |
abstract class MyType { | |
void doStuff(); | |
} | |
mixin MyTypeHelpers { | |
void protectedUtilityMethod() => print('Protected method'); | |
} | |
abstract class MyDerivedType implements MyType { | |
factory MyDerivedType.create() => MyDerivedTypeImpl(); |
compress:{,/({y,$#x@y}t)'!t:=x} |
#!/usr/bin/env python3 | |
import collections | |
import multiprocessing | |
import multiprocessing.connection | |
import os | |
import subprocess | |
import sys |
#!/usr/bin/env python3 | |
import os | |
import socket | |
import struct | |
import subprocess | |
import sys | |
def nested(fd): |
Once upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did
I hereby claim:
- I am refi64 on github.
- I am refi64 (https://keybase.io/refi64) on keybase.
- I have a public key ASC0MAUdoo0JtC9sw5EKyAwgpeBm0nFIDeLLNJj5mrH2Vwo
To claim this, I am signing this object: