ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
co1umbarius has joined #wayland
alarumbe has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
fmuellner has quit [Ping timeout: 480 seconds]
shashank1202_ has joined #wayland
thx has joined #wayland
Lucretia has quit []
thx has quit []
boistordu has joined #wayland
shashank1202_ has quit [Quit: Connection closed for inactivity]
leon-p has joined #wayland
leon-p_ has quit [Ping timeout: 480 seconds]
leon-p has quit []
zebrag has joined #wayland
d10n has quit [Quit: why all the #hashtags]
d10n has joined #wayland
zebrag has quit [Quit: Konversation terminated!]
d10n has quit [Quit: why all the #hashtags]
d10n has joined #wayland
alarumbe has joined #wayland
danvet has joined #wayland
novakane has joined #wayland
hardening has joined #wayland
pnowack has joined #wayland
dcz_ has joined #wayland
rasterman has joined #wayland
jgrulich has joined #wayland
immibis has quit [Remote host closed the connection]
immibis has joined #wayland
elenapan has joined #wayland
jgrulich has quit [Ping timeout: 480 seconds]
txtsd has joined #wayland
rgallaispou has joined #wayland
<pq> swick, I have stuff brewing for color-and-hdr docs so would be nice if you kept an eye on the MRs there.
<pq> if possible, of course
<wlb> weston Issue #552 closed \o/ (xwayland/dnd.c:211:49: warning: duplicated ‘if’ condition https://gitlab.freedesktop.org/wayland/weston/-/issues/552)
<wlb> weston/main: Derek Foreman * xwayland: Fix copy and paste error https://gitlab.freedesktop.org/wayland/weston/commit/c00aba6893cb xwayland/dnd.c
<wlb> weston Merge request !716 merged \o/ (xwayland: Fix copy and paste error https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/716)
<pq> swick, after all, I cannot merge any of my own MRs without either you or Vitaly acking them the very least.
hendursa1 has joined #wayland
hendursaga has quit [Ping timeout: 480 seconds]
st3r4g has joined #wayland
Lucretia has joined #wayland
<dottedmag> I'm playing with a wearable "keyboard" that has a mode to detect finger taps. Here's their website: https://www.tapwithus.com. I wonder what would be a good abstraction for such an input device?
<dottedmag> Any prior work?
<dottedmag> I wonder if "keyboard" with five keys: thumb ... little-finger, somewhere in unused space of evdev keys is appropriate.
<dottedmag> There is a complication though: this device also has a keyboard mode: taps are processed by the device itself, composed and delivered to the computer via regular HID, and switching between the modes has to be done from the computer, so there should be some kind of back channel (similar to caps lock)
<pq> whot, ^
<jadahl> dottedmag: are you playing by adding a kernel driver or ..?
<pq> all I can think of is "input methods"
<jadahl> input method for mouse movements?
* pq hides
<dottedmag> jadahl: It's Bluetooth LE, so I am talking to it from userspace for now
<jadahl> ah, I see
<dottedmag> Their finger-tap-detection protocol is pretty simple: https://www.tapwithus.com/wp-content/uploads/2018/08/TapBLEAPIdocumentation_1_0_0_20180408-1.pdf -- pages 4/5
<dottedmag> Basically, a bitmap of 5 fingers (they coalesce close taps into a single event).
<jadahl> so all the processing that turns things into key strokes or mouse movements are done in software then I guess?
<dottedmag> There are two main modes this device may be (aside from maintenance ones): keyboard/mouse, where the device itself composes taps into keys/mouse presses, and delivers them via HID, and "controller", where device sends raw taps to the computer.
<dottedmag> keyboard/mouse is trivial, as it's just another regular device. controller needs a new abstraction, or shoehorning into existing matching abstraction.
<jadahl> so the keyboard/mouse, they turn up as evdev devices and you don't need to deal with BT?
<dottedmag> Yes
<jadahl> neat
<jadahl> I guess the other can be used for very custom user interaction? like rotating a globe, or other 3D stuff
<dottedmag> Yes
<dottedmag> Manufacturer provides SDKs for applications, but this seems suboptimal, given how simple the protocol is.
gryffus has joined #wayland
<jadahl> what else would one want?
<dottedmag> Well, open a device, read events? SDKs are for C#, Python and Java, good luck with everything else.
<dottedmag> At least they are open-sourced, so one could do it.
gryffus has quit [Remote host closed the connection]
<jadahl> maybe a shared library with a C API could be useful. would probably fit better into the majority of relevant applications on linux
<emersion> seems pretty similar to the gamepad situation
gryffus has joined #wayland
<dottedmag> Oh, that's right. This device looks like a gamepad.
<dottedmag> I never used gamepads -- are their buttons mapped to keyboard keypresses?
<dottedmag> Fun, there is BTN_THUMB and BTN_PINKIE in evdev codes (copied from joystick interface?), but no codes for other fingers.
<pq> no, gamepad are not using key events I think - they have multiple analog axes and buttons I think.
<emersion> dottedmag: see inputfd MR in wayland-protocols
<SardemFF7> at HID level at least, they are really different than keyboards, basically you get a min/max for buttons and another for axis, and the data you get is an array
<dottedmag> emersion: thanks
<dottedmag> This is actually an argument for exposing "controller mode" via evdev interface, or sandboxed apps won't be able to enable it and have events delivered.
gryffus has quit [Remote host closed the connection]
gryffus has joined #wayland
gryffus_ has joined #wayland
gryffus has quit [Read error: Connection reset by peer]
flacks has quit [Quit: Quitter]
flacks has joined #wayland
gryffus__ has joined #wayland
gryffus_ has quit [Read error: Connection reset by peer]
gryffus_ has joined #wayland
gryffus has joined #wayland
gryffus__ has quit [Read error: Connection reset by peer]
gryffus_ has quit [Ping timeout: 480 seconds]
leon-p has joined #wayland
<jadahl> dottedmag: so you're not accessing directly with BT, even in the "raw" mode?
<dottedmag> jadahl: Frankly I have no idea what I am doing :) Never used BT programmatically before, don't know any layers in it.
<jadahl> BT means dealing with pairing UX etc, then eventually you get something that looks like a byte stream
<jadahl> and using the bluetooth stack, not evdev. but if it already shows up as hid devices in the "raw" mode, I guess you don't need to deal with BT APIs directly
<dottedmag> Yes, I'm talking to the device that's already paired.
devbaka has joined #wayland
mooff has quit [Remote host closed the connection]
mooff has joined #wayland
novakane has quit [Quit: WeeChat 3.3]
Net147 has quit [Ping timeout: 480 seconds]
fmuellner has joined #wayland
st3r4g_ has joined #wayland
st3r4g has quit [Ping timeout: 480 seconds]
novakane has joined #wayland
elenapan has quit []
gryffus has quit []
st3r4g_ has quit [Read error: Connection reset by peer]
st3r4g has joined #wayland
ppascher has quit [Quit: Gateway shutdown]
<wlb> weston Merge request !717 opened by () desktop-shell: Separate input focus from xdg-shell toplevel window activation https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/717
<swick> DemiMarieObenour[m]: it also means that the client has to send something to identify itself. thats only feasable if it wants to acquire more privileges and not if you need the identity for example for resource accounting
<swick> pq: yeah, I'm a bit behind on the color stuff because of other things but I'll try to review all the color-and-hdr MRs this week
devbaka_ has joined #wayland
devbaka has quit [Ping timeout: 480 seconds]
c7s has joined #wayland
hendursa1 has quit []
hendursaga has joined #wayland
Lucretia has quit []
Lucretia has joined #wayland
mtretter has quit []
mtretter has joined #wayland
floof58 has quit [Ping timeout: 480 seconds]
devbaka_ has quit [Remote host closed the connection]
rgallaispou has quit [Read error: Connection reset by peer]
floof58 has joined #wayland
mbalmer_ has joined #wayland
___nick___ has joined #wayland
___nick___ has quit []
mbalmer has quit [Ping timeout: 480 seconds]
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
<wlb> weston Merge request !718 opened by () build: add weston-launch-group option https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/718
ppascher has joined #wayland
rgallaispou has joined #wayland
rgallaispou has left #wayland [#wayland]
spstarr has joined #wayland
fmuellner has quit [Remote host closed the connection]
<hendursaga> Can someone point to a way to swap capslock with escape? setxkbmap only works in xwayland apparently
<hendursaga> Oh and also, I'm not using GNOME, so Gnome Tweaks won't work either
<emersion> which compositor are you using?
<hendursaga> Whichever one Plasma uses
<hendursaga> I know sway has one way of doing it, but I don't always use sway
<emersion> please ask in a KDE support channel
<emersion> each compositor has its own way of doing keyboard configuration
<hendursaga> alright then
halfline[m] has joined #wayland
halfline is now known as enilflah
halfline[m] has quit []
halfline[m] has joined #wayland
halfline[m] has quit []
halfline[m] has joined #wayland
halfline[m] is now known as halfline
halfline has quit []
halfline has joined #wayland
___nick___ has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
novakane has quit [Quit: WeeChat 3.3]
marler8997_ has joined #wayland
marler8997_ has quit []
marler8997 has joined #wayland
<marler8997> Hey, I'm investigating at various "remote desktop" solutions. We're using weston at the moment. I've been looking at various solutions and am wondering if anyone here has suggestions as well
st3r4g has quit [Quit: おやすみ]
hardening has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
danvet has quit [Ping timeout: 480 seconds]
boistordu has quit [Remote host closed the connection]
<whot> dottedmag: closest thing I can think of is the twiddler but it's been 15y since I played with one and that was before I did anything input
<whot> dottedmag: interestingly, it still exists
<whot> but yeah, you're running in to the joystick/gamepad problem here. A device with unspecified buttons and it requires full userspace support to make those buttons do something
<whot> you could expose them via evdev but that still doesn't help with the issue that nothing will handle those button codes out of the box
lawsa has joined #wayland