yuki

Results 44 issues of yuki

Adds a driver for the [MAX7318](https://datasheets.maximintegrated.com/en/ds/MAX7318.pdf) 16-port I2C GPIO expander. Doesn't support the interrupt feature (yet?). Has been tested on real hardware. I've moved the existing mcp23017 driver to its...

enhancement
core

Adds a driver for MAX17048 I2C fuel gauge. Works on real hardware.

enhancement
core

eg. holding shift while dragging the resize handle will keep the Rect ratio constant, or even holding ctrl+shift will force it to be square. ps: i might implement this

massive cleanup

obviously i had 0 foresight when redesigning the enum system during the rewrite. they're not completely unusable currently, but only if you restrict yourself to flax code. For interoperating with...

bug
enhancement

we used to even have comparisons and stuff on tuple types (a pairwise operation), but now even `==` is broken lmao

We can currently do `if (x is T)` if `T` is some primitive-ish type like `i64` or `str` or even a user-defined struct. Unfortunately we cannot match `x` with something...

enhancement

this doesn't work without explicit casting: ``` var xs: [i64] = [as i64: 1, 2, 3 ] xs += 4 ```

bug
enhancement

enhancement
help wanted

Potentially allow something like this: ``` var s: struct { x: int // ... } ``` what are these called, voldermort types? can substitute named tuples in other languages i...

enhancement