arsenik icon indicating copy to clipboard operation
arsenik copied to clipboard

kanata numpad: add operators

Open nim65s opened this issue 10 months ago • 4 comments

Hi,

For use in a calculator or spreadsheet, I would expect basic operators to be available. And numpad layer has enough space for those, so here is a simple proposition.

nim65s avatar Mar 10 '25 13:03 nim65s

Hey! I totally agree, the current numpad is no match for a physical one. And the numrow layer has a similar limitation (no = and %).

Here’s what I will dogfood for some time, building on your proposal:

-XX   home up   end  pgup      @/   @7   @8   @9   XX
-XX   lft  down rght pgdn      @-   @4   @5   @6   @0
-@/   @*   @-   @+   @=    _   @,   @1   @2   @3   @.
+XX   home up   end  pgup      @/   @7   @8   @9   XX
+bspc lft  down rght pgdn      @-   @4   @5   @6   @0
+@=   @%   @*   @:   @+    _   @,   @1   @2   @3   @.
  • : on [V]: it makes typing hours in the XX:XX format easier
  • - on [H]: IMO the existing Arsenik numpad did a great job positioning -; it is often used (e.g. dates in XXXX-XX-XX format), thus under a strong finger
  • + on [B]: making this symbol accessible via an extension of the index finger makes it similar to the positioning of -
  • % on [X] and * on [C]: no actual rationale for those, but I certainly prefer having * at a better slot than %
  • bspc on [A]: a game changer when using the numpad extensively

fnuttens avatar Mar 11 '25 22:03 fnuttens

Thanks, I’ll try this too :)

nim65s avatar Mar 14 '25 14:03 nim65s

XX on [Z]: it is impossible to press this in tap-hold-press mode (using a layer-switch it is fine but Arsenik doesn’t implement that yet)

I just don't understand this: it works for me. But it is no needed anyways.

NB: I made another commit to allow easy referencing different version, but if this PR is merged, those should be squashed I think.

nim65s avatar Mar 14 '25 15:03 nim65s

@nim65s oh you’re right, my bad! The layer-switch and layer-while-held features got mixed up in my mind and I wrongly assumed that Arsenik was only implementing the latter (it’s the other way around)…

fnuttens avatar Mar 19 '25 12:03 fnuttens