guides:keyboard
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:keyboard [2023/11/13 21:36] – created admin | guides:keyboard [2024/01/31 18:06] (current) – osnr | ||
---|---|---|---|
Line 11: | Line 11: | ||
---- | ---- | ||
- | In a virtual program paste this program: | + | Go to the Keyboards page on your Folk's web server: |
- | </code> | + | http:// |
- | proc is_keyboard {device} { | + | |
- | set properties [udevadm_properties $device] | + | |
- | if {$properties eq "" | + | |
- | return false | + | |
- | } | + | |
- | # Check if device is a keyboard and not a mouse | + | |
- | set isKeyboard [string match *ID_INPUT_KEYBOARD=1* $properties] | + | |
- | set isMouse [string match *ID_INPUT_MOUSE=1* $properties] | + | |
- | return [expr {$isKeyboard && !$isMouse}] | + | |
- | } | + | |
- | set result [exec ls / | + | {{: |
- | set keyboards [list] | + | |
- | foreach device $result { | + | ---- |
- | set fullDevice "/ | + | |
- | set keyboardCheck [is_keyboard $fullDevice] | + | |
- | if {$keyboardCheck} { | + | |
- | lappend keyboards $fullDevice | + | |
- | } | + | |
- | } | + | |
- | Wish $this is outlined white | + | :!: **If no keyboards appear in the list** |
- | foreach kb $keyboards { | + | |
- | Wish $this is labelled " | + | |
- | puts " | + | |
- | } | + | |
- | </ | + | |
- | When you hit save this will display the connected keyboard's path on the table: | + | This is known to happen with Bluetooth keyboards. You can put it into ''/ |
- | {{guides: | + | ---- |
- | and in the journal ('' | + | With the page open on your computer, type some stuff on your keyboard and see which keyboard entry it appears on. |
- | < | + | If you can, put card stock or thick paper into your printer (so the keyboard program |
- | Nov 13 20:18:45 folk0 make[39865]: | + | |
- | Nov 13 20:18:45 folk0 make[39865]: | + | |
- | Nov 13 20:18:45 folk0 make[39865]: | + | |
- | </ | + | |
- | + | ||
- | --- | + | |
- | + | ||
- | Put this claim into a new virtual | + | |
- | + | ||
- | {{: | + | |
+ | Tape the printed program to the bottom of your keyboard and you now have a keyboard (which should have an attached editor automatically): | ||
+ | {{guides: |
guides/keyboard.1699911399.txt.gz · Last modified: 2023/11/13 21:36 by admin