ddvk / remarkable-stylus

hack to get the button of a lamy pen working
GNU Lesser General Public License v3.0
185 stars 10 forks source link

Map button to Undo #13

Open cmbail opened 3 years ago

cmbail commented 3 years ago

I would like the button mapped to undo. It's the one command I tend to need to repeat several times rapidly and is more annoying to have to do through swipes than tool switching or tool/eraser switching.

I couldn't find anything in Readme.md on how to customize the action - is it possible?

ddvk commented 3 years ago

undo is double click

cmbail commented 3 years ago

TIL. Thank you!

Still a pain if I want to undo 5 strokes. I think I would prefer to have single click mapped to undo. That would require nothing mapped to double-click for undo to work n times.

I may be rare in that though.

cmbail commented 3 years ago

After use, I should report that undo mapped to double-click is practically unusable for me. At least half the time I try to undo, I also inadvertently trigger tool switching.

ddvk commented 3 years ago

i ll add a toggle or something

ddvk commented 2 years ago

added as an option in the toggles

cmbail commented 2 years ago

Awesome, thank you! I presume these are set in Remarkable's command line, but I couldn't find any documentation in README.md about toggles. I also tried google search on "remarkable-stylus" "toggles" but it didn't find anything. Can you please help with a link?

ddvk commented 2 years ago

in the UI with the toggles, the Lamy Button, but not yet for the rm1

cmbail commented 2 years ago

I do have an RM2. But, sorry, there is nothing in my UI. RM2_UI

ddvk commented 2 years ago

did you rerun the script, and also version 2.10.3.379

cmbail commented 2 years ago

Yes, I re-ran sh -c "$(wget https://raw.githubusercontent.com/ddvk/remarkable-stylus/master/patch.sh -O-)" and the RM2 rebooted.

Confirmed the RM2 is at 2.10.3.379-patch (with ddvk remarkable-hacks).

I just ran it again. After it rebooted, I see the same UI toggles.

ddvk commented 2 years ago

you have to reinstall the remarkable-hacks

johnnytravels commented 2 years ago

Any chance the button could be mapped to toggle the highlighter (or previous pen)? Being able to switch between pen and highlighter would be great for reading.

suppenkaspar109 commented 2 years ago

Previously this worked. But right now I have following situation (with toltec installed & automatic install scripted used)

ddvk commented 2 years ago

there should be an options to change the mode (Lamy Hold Erase is the default, but when you click it there is click undo)

koshibb commented 1 year ago

@ddvk I am having a similar type of issue which I am sure PEBKAC.... For the undo, do I need to like point at the item I wish to remove?

ddvk commented 1 year ago

@ddvk I am having a similar type of issue which I am sure PEBKAC.... For the undo, do I need to like point at the item I wish to remove?

nope