batbell42
aldridgemclain80vfworr@docmailz.com
Date Pickers Are The Worst Component On the Internet (43 อ่าน)
14 พ.ย. 2569 06:53
<p>Management-O in Claude Code shows the complete details of what the agent is doing. I do know this shortcut exists. I have recognized for weeks. But I almost by no means use it, because hitting Control-O on a keyboard requires stretching my left hand all the way across to the right aspect. It's bodily uncomfortable. The shortcut would possibly as effectively not exist. Circle on my PlayStation controller. Two fingers, both already resting in place.</p>
<p>Now I exploit it consistently. https://aeronresmi.it.com/ is the kind of thing I keep discovering whereas building ControllerKeys, a Mac app that maps Bluetooth recreation controllers to keyboard shortcuts, mouse actions, webhooks, OBS websocket commands, app launchers, URL openers, and just about any other macro you can think of. The original objective was easy: let people use Xbox and PlayStation controllers as input gadgets on Mac. What I didn't expect was how a lot better a controller is at making shortcuts accessible than a keyboard.</p>
<p>On a keyboard, your fingers relaxation on the home row. Some shortcuts are near that position. Command-S, Command-Z, Command-C, Command-V. These live in the left hand’s pure range and most people study them early. However as you progress past the fundamentals, shortcuts start requiring awkward stretches. Command-Shift-four for screenshots. Management-O to see particulars. These usually are not hard to recollect. They are exhausting to achieve. A game controller does not have this problem. Every button is within attain of a finger that's already resting on it.</p>
<p>Your thumbs cover the face buttons and sticks. Your index fingers cowl the bumpers and triggers. Your center fingers can cowl further triggers or rear paddles. No finger ever has to move more than a centimeter or two. The result's that the bodily cost of any shortcut on a controller is roughly the same: low. There is no such thing as a equivalent of the complete-hand stretch throughout the keyboard. Every action is identical distance out of your fingers. This has a second-order effect on reminiscence. When all shortcuts are easy to reach, you really use them.</p>
<img width="355" src="https://aeronresmi.it.com/images/BG-GO88.png">
<p>When you use them, you remember them. When the physical price is high, shortcuts fall out of your working memory because you stop reinforcing them. A controller retains the entire set alive. I learned this the exhausting method with Hammerspoon. Over the past yr I've accumulated a big assortment of Hammerspoon shortcuts for myself: window management, app switching, quick actions for all sorts of issues. Most of them turned out to be hopeful shortcuts. I set them up, used them for a day, after which forgot they existed as a result of the keyboard combinations to set off them were too awkward to reinforce. I had been collecting Infinity Stones however had no gauntlet.</p>
<p>ControllerKeys turned out to be the gauntlet. As soon as I mapped those same Hammerspoon actions to controller buttons and chords, I started actually using them. The shortcuts I had been accumulating for months finally became part of my real workflow. A normal Xbox controller has 18 pressable buttons: A, B, X, Y, two bumpers, two triggers, 4 d-pad directions, two stick clicks, View, Menu, Share, and the Xbox button. A DualSense Edge has around 22, including a touchpad click, mute button, and two rear paddles. On Mac, the Xbox button opens Sport Heart and the PlayStation button opens a system dialog. However you possibly can disable this in system settings, and ControllerKeys can claim these buttons for your own mappings.</p>
<p>Every button on the controller is offered. That provides you three potential actions per button, or 54 on an Xbox controller and sixty six on a DualSense Edge, earlier than you get creative. Then there are chords. A chord is two or extra buttons pressed concurrently to set off a singular action. Circle, pressed collectively. For 2-button chords on n buttons, the number of combinations is n choose 2. On 18 buttons, that's 153 additional actions. Over 200 distinct actions on a standard Xbox controller, and near 300 on a DualSense Edge, with out using any advanced options. Some slots get consumed by the actions they symbolize. If you map a button to left click on, you need holding it to carry the clicking for dragging, so the long-hold slot is gone.</p>
<p>Double click needs to cross via as an actual double click, so that slot is gone too. However even after these natural commerce-offs, the space is enormous. And this is only the beginning. ControllerKeys also helps sequences and layers. A sequence is 2 or more button presses in order, as much as eight steps lengthy, like a preventing sport combo. On 18 buttons, two-step sequences alone provide you with 324 possibilities. Three steps give 5,832. By the point you attain eight steps, the number is within the billions. You won't ever use most of these, however you will never run out of room either.</p>
<p>Layers work like modifier keys on a keyboard. You designate a button as a layer toggle. Whereas holding it, every other button takes on a secondary mapping. A single layer roughly doubles the actions obtainable for each button it covers. Add a second layer and also you triple them. The sensible restrict on usable mappings is not the system. It is your memory. The controller has extra obtainable actions than you may simply keep track of, which seems to be exactly what you need. You need headroom, not just so you never run out of house, however so you possibly can suppose in clusters of shortcuts which might be intuitive to you.</p>
<p>You probably have spent years enjoying video video games, sure button-to-motion pairings simply feel proper. Set off for shooting, bumper for cycling, d-pad for navigation. Having a large combinatorial space means you can plan your mappings round associations that already exist in your muscle reminiscence, instead of cramming actions into no matter slots are left. The extra room you've, the extra intuitive your format could be, and intuitive layouts are the ones you really remember. Every program has its own shortcuts. Claude Code, OBS, Anki, Figma, Blender. Studying all of them means maintaining a set of disjoint mappings in your head, one per utility. They might not even be consistent. Command-P prints in a single app and opens a command palette in one other.</p>
<p>ControllerKeys has profiles. Each profile is an entire set of button-to-action mappings. You may switch profiles manually, or you can hyperlink a profile to an app so it activates automatically when that app becomes the frontmost window. I have a profile for Claude Code, a profile for OBS, and a default profile for normal use. When i swap to OBS, my controller reconfigures itself. The button I use for “show details” in Claude Code now triggers “start recording” in OBS.</p>
<p>I should not have to remember which keyboard shortcut does what in which app. The controller remembers for me. The community has started constructing profiles too. There may be an Anki flashcards profile that maps controller buttons to Anki’s assessment actions, linked to the Anki app so it activates mechanically when Anki is in the foreground. This is standard with people who used Gratifying on Mac, which has not been updated in years.</p>
<p>Profiles are saved as plain-textual content JSON information. You'll be able to edit them by hand, model them with git, share them with others, or hand them to an AI and ask it to design the optimal controller layout in your workflow. The configuration is portable and inspectable in a manner that hardware macro pads aren't. It is a subtly vital property. Your profiles are a durable report of your keyboard shortcuts. Setting up a workflow is work, and that work shouldn't disappear if you change units or reset your system. Plain-text, model-controlled config recordsdata make your shortcut knowledge everlasting. ControllerKeys maps buttons to keyboard shortcuts.</p>
<p>Hammerspoon maps keyboard shortcuts to anything your Mac can do: window administration, application launching, system commands, customized Lua scripts. Chain them collectively and a controller button can do anything. The setup is simple. In Hammerspoon, bind an action to a hotkey. In ControllerKeys, map a controller button to that hotkey. Press the button, ControllerKeys sends the keystroke, Hammerspoon intercepts it, and the motion fires. A controller button can now open a particular URL, resize home windows to a grid, toggle dark mode, run a shell script, submit to a webhook, or the rest you possibly can write in Lua. Two of my favorites: I've the PlayStation button plus the mute button as a chord that toggles AirPlay to my Television. One two-finger press and my Mac is on the massive display. One other chord triggers a Hammerspoon script that selects the text inside the nearest quotes, brackets, or parentheses and highlights it, ready to repeat or delete.</p>
45.83.124.22
batbell42
ผู้เยี่ยมชม
aldridgemclain80vfworr@docmailz.com