There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pastaq ,

If you run sudo dmesg -w it should tell you the scancodes that each of those events is triggering. You can then create a /etc/udev/hwdb.d/50-my-device.hwdb file to map those scan codes to keycodes.

Here’s an example of a .hwdb file I made for Ayaneo handhelds:


<span style="color:#323232;">## AYANEO DEVICES
</span><span style="color:#323232;">evdev:name:AT Translated Set 2 keyboard:dmi:*:svnAYANEO:*
</span><span style="color:#323232;">  KEYBOARD_KEY_66=f15
</span><span style="color:#323232;">  KEYBOARD_KEY_67=f16
</span><span style="color:#323232;">  KEYBOARD_KEY_68=f17
</span>

You can find the appropriate evdev:* information by running sudo udevadm test /dev/input/eventX where eventX is the evdev fd for the device in question. evtest will show you the names.

pastaq ,

You will notice that every keypress in evtest is also preceded by a KEY_MSC. This is just the evdev responding to a scancode. If the hwdb has this scancode pre-assigned in 60-keyboard.hwdb then it creates the EV_KEY event that is mapped. What you want to do is turn this EV_MSC into an EV_KEY by mapping the unknown scancode to a evdev event code using the hwdb file.

The arch wiki has a good article on how to map these scancodes and identify what keycode you want to map. It is generic enough that it should work for most distros. Read all of section 2, it goes into specific detail about your question.

wiki.archlinux.org/…/Map_scancodes_to_keycodes#Us…

pastaq ,

I’m fairly confident they were referring to the criticism from China FTA, but you’d need to read past the headline for that context so…

pastaq ,

I think that’s probably a bit of misunderstanding. Nvidia doesn’t work right in gamescope due to some missing vulkan extensions. Linux gaming is primarily focused around using gamescope as a compositor, specifically with gaming focused distros. You can see where the idea comes from following that trend.

But also, fuck you Nvidia.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines