#
2141d2fe |
| 18-Aug-2024 |
X512 <danger_mail@list.ru> |
input: fix KEY_power key code conflict with japanese `\_` key
- This key code is inherited from BeOS, where it was used for the power key on Apple ADB keyboards - Since then, we have introduced a
input: fix KEY_power key code conflict with japanese `\_` key
- This key code is inherited from BeOS, where it was used for the power key on Apple ADB keyboards - Since then, we have introduced a new system for "multimedia" keys, that uses HID key codes directly instead of defining our own mappings - The PS2 driver was using the HID keycode, but the USB driver was still using the BeOS defined one - Japanese keyboards, which have a few more keys than US and European ones, reused the same keycode for something else
Since the power key does not need to be mapped by the keymap, move it out of the way by using the HID keycode (key codes larger than 0x7f cannot be mapped to UTF8 symbols). Remove all mentions of the use of 0x6b as a keycode for the power key, but add a note in the documentation that BeOS did this.
To avoid further confusions, complete the documentation of extra keycodes, and remove some definitions from keyboard_mouse_driver.h that should have been in InterfaceDefs.h.
While researching this, I also found that some keys specific to Korean keyboards were declared in the wrong place, as mapped codes instead of unmapped ones (checked that by looking at the HID driver, which emits these raw keycodes, and confirming that the mapped ones are not used in any keymaps. Also added a note about the mapping of the extra modifier keys in Japanese keyboards, which I think may be a problem since these map to invalid UTF-8 byte sequences, but this is what the existing keymap does, so leaving it as is for now until we can determine if this can be changed or if we have to keep it that way.
Change-Id: I6a198a0840cba7739bdc78e0c65e5d8fd23956c9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8047 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
show more ...
|
#
684eb9df |
| 14-Jan-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
keymap: Fix unused variable warning.
These constants are not used when building on the host, move them inside the appropriate ifdef.
|
#
9f81ca83 |
| 27-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'package-management'
Conflicts: src/preferences/network/Jamfile
|
#
b8ded2f8 |
| 27-May-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
204dee70 |
| 09-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use libbe_build also on Haiku
This means the build tools will no longer be built against the host platform's libbe, which avoids compatibility problems -- e.g. an older Haiku host libbe may not have
Use libbe_build also on Haiku
This means the build tools will no longer be built against the host platform's libbe, which avoids compatibility problems -- e.g. an older Haiku host libbe may not have certain features the build tools require -- and also makes the build behave more similiar on Haiku and other platforms. The host libroot dependency still remains and is not easy to get rid of.
Also remove some bits of BeOS/Dano/Zeta build support.
show more ...
|
#
25a7b01d |
| 05-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature
Merge branch 'master' into package-management
Additional changes: * Add src/system/kernel/lib/zlib, which builds a kernel version of zlib, needed by packagefs. * BuildFeatures: Add a build feature "gcc2" to allow for easier checks. * Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter is not needed and prevents building for the build platform. * zlib/zutil.h: Fix gcc 2 build. We really should use the external package instead.
Conflicts: .gitignore build/jam/BuildSetup build/jam/FileRules build/jam/FloppyBootImage build/jam/HaikuImage build/jam/ImageRules build/jam/KernelRules build/jam/NetBootArchive build/jam/OptionalBuildFeatures build/jam/OptionalLibPackages build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_haiku_image configure data/bin/installoptionalpackage data/system/boot/Bootscript headers/os/app/Message.h headers/os/package/PackageInfo.h headers/os/package/PackageInfoAttributes.h headers/os/package/PackageInfoSet.h headers/os/package/PackageRoster.h headers/os/package/PackageVersion.h headers/os/package/hpkg/PackageInfoAttributeValue.h headers/os/storage/FindDirectory.h headers/os/storage/Node.h headers/os/support/StringList.h headers/private/system/directories.h src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp src/add-ons/kernel/file_systems/packagefs/Jamfile src/add-ons/kernel/file_systems/packagefs/Package.cpp src/add-ons/kernel/file_systems/packagefs/Package.h src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp src/add-ons/kernel/file_systems/packagefs/PackageDomain.h src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp src/add-ons/kernel/file_systems/packagefs/PackageNode.h src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp src/add-ons/kernel/file_systems/packagefs/Version.cpp src/add-ons/kernel/file_systems/packagefs/Version.h src/add-ons/kernel/file_systems/packagefs/Volume.cpp src/add-ons/kernel/file_systems/packagefs/Volume.h src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c src/apps/deskbar/BarApp.cpp src/apps/deskbar/BarMenuBar.cpp src/apps/deskbar/BarMenuBar.h src/apps/deskbar/BarView.cpp src/apps/deskbar/BarView.h src/apps/deskbar/BarWindow.cpp src/apps/deskbar/BarWindow.h src/apps/deskbar/DeskbarMenu.cpp src/apps/deskbar/DeskbarMenu.h src/apps/deskbar/DeskbarUtils.cpp src/apps/deskbar/DeskbarUtils.h src/apps/deskbar/ExpandoMenuBar.cpp src/apps/deskbar/ExpandoMenuBar.h src/apps/deskbar/TeamMenu.cpp src/apps/processcontroller/ProcessController.cpp src/apps/remotedesktop/RemoteDesktop.cpp src/bin/bash/config-top.h src/bin/finddir.c src/bin/package/Jamfile src/bin/package/command_add.cpp src/bin/package/command_create.cpp src/bin/package/command_list.cpp src/bin/package_repo/command_list.cpp src/bin/pkgman/command_refresh.cpp src/build/libbe/support/Jamfile src/build/libpackage/Jamfile src/build/libroot/Jamfile src/build/libroot/fs.cpp src/build/libroot/remapped_functions.h src/kits/locale/MutableLocaleRoster.cpp src/kits/opengl/GLRendererRoster.cpp src/kits/package/PackageInfo.cpp src/kits/package/PackageInfoSet.cpp src/kits/package/PackageRoster.cpp src/kits/package/PackageVersion.cpp src/kits/package/RepositoryCache.cpp src/kits/package/hpkg/PackageWriterImpl.cpp src/kits/package/hpkg/ReaderImplBase.cpp src/kits/package/hpkg/WriterImplBase.cpp src/kits/print/PrintTransport.cpp src/kits/print/Printer.cpp src/kits/screensaver/ScreenSaverRunner.cpp src/kits/support/StringList.cpp src/kits/tracker/ContainerWindow.cpp src/kits/tracker/DeskWindow.cpp src/kits/tracker/PoseView.cpp src/libs/print/libprint/Transport.cpp src/preferences/printers/AddPrinterDialog.cpp src/preferences/screensaver/ScreenSaverWindow.cpp src/servers/debug/DebugServer.cpp src/servers/input/AddOnManager.cpp src/servers/media_addon/MediaAddonServer.cpp src/system/boot/Jamfile src/system/boot/loader/Jamfile src/system/boot/loader/loader.cpp src/system/boot/loader/vfs.cpp src/system/kernel/fs/vfs.cpp src/system/kernel/fs/vfs_boot.cpp src/system/libroot/os/find_directory.cpp src/system/runtime_loader/runtime_loader.cpp src/tools/package/Jamfile
show more ...
|
#
295cdbee |
| 29-Apr-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
keymap: use uchar instead of char to avoid narrowing conversion warnings.
|
#
77d95e1d |
| 18-Nov-2012 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
Conflicts: src/system/boot/platform/u-boot/arch/ppc/Jamfile
|
#
30afb18c |
| 18-Nov-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Merge branch 'x86_64'
|
#
4591ebc9 |
| 18-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Fixes for building Haiku x86_64 from itself.
|
#
3cee15aa |
| 28-Mar-2012 |
John Scipione <jscipione@gmail.com> |
Keymap changes from recent activity. No AltGr yet.
Below is a mostly complete summary of the changes in this commit.
* Set the DeadKeys for the US-International Keymap to use the Option map. * Rena
Keymap changes from recent activity. No AltGr yet.
Below is a mostly complete summary of the changes in this commit.
* Set the DeadKeys for the US-International Keymap to use the Option map. * Rename American keymap to US * Update the US, US-International, and United-Kingdom keymaps to take out unneeded spaces in the option layer. Also updated the dead keys and some other keys on the US-International keyboard to use UTF-8 characters rather than there ASCII equivalents when different. * Make the Option key fall-through when there is no mapping in the Option table. Option is for special characters, if none, print the regular one. This is mostly meant for the US keymap which has an empty option map. But also so that you don't have to repeat the normal, shift, and caps maps in the option map needlessly. Although the keymaps are still not empty in some cases that it could be like numpad keys and space. * Update the /bin/keymap app to use fputs() instead of printf() when there is no actual formatting taking place. I've gotten into trouble for doing this before and it is faster to not process the string unnecessarily. * Also several 80-char limit style fixes and updated comments. * In Keymap class Reorder the modifier keys to match the keymap files. Put B_CONTROL_KEY check above B_OPTION_KEY. Neither change has any effect, they are purely aesthetic. * Update DumpKeymap() method to use the abbreviated modifier letters so it will fit in your 80-char wide terminal. * Tiny style fix in InputServer * 80-char limit style fix in BWindow and add a comment that the shortcut gets eaten in the case of Cmd+Q * Implement IndexForModifier() in KeyboardLayout, although I am not using it. * Take Caps Lock out of the Modifier keys window because I couldn't get it to work the way I wanted it to. * Move key roles to the left column, and the key label on the left. Add column header labels. Thanks Rimas! * Add validation and improve marking menu options. Add a 'Disabled' option to control, option, and command menus to disable the key. Make the key role text grey if the key roles is disabled. Validation ensures that you cannot repeat the same key twice in the Modifier keys window since that won't work. You can't define 2 sets of option keys even if you really want to. You can disable your control, option, and command keys if you want, but that is not recommended. * Rename kUpdateModifiers to kUpdateModifierKeys message to differetiate it from kUpdateModifier. * Add shift key to Modifier keys window, use the stop icon instead of the warning icon to indicate conflicts. * Allow the Layout system to control the size of the Modifier keys window again, set the width's of the key role lables to the widest, set the width of the menu fields to take up the rest of the space minus room for the conflict views. I didn't like it that the Modifier keys window would change size based on what options you had selected in the menu fields. Now it doesn't, but, the layout system still makes it all fit.
show more ...
|
#
a84e14ca |
| 16-Dec-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Merge branch 'master' of git://github.com/haiku/haiku
|
#
19ae20e6 |
| 05-Nov-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'master' into pm-flat
Conflicts: build/jam/HaikuImage build/jam/OptionalBuildFeatures build/jam/OptionalPackages build/jam/UserBuildConfig.sample data/bin/installoptionalpackage s
Merge branch 'master' into pm-flat
Conflicts: build/jam/HaikuImage build/jam/OptionalBuildFeatures build/jam/OptionalPackages build/jam/UserBuildConfig.sample data/bin/installoptionalpackage src/apps/deskbar/DeskbarMenu.cpp src/servers/debug/DebugServer.cpp src/system/kernel/fs/vfs.cpp
show more ...
|
#
99318192 |
| 29-Oct-2011 |
Joachim Seemer <humdingerb@googlemail.com> |
Applied patch by rq. Changes the example keyboard from 101 to 102-keys, inserting key 0x69 between letf shift and Z. Fixes #6539. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42960 a9
Applied patch by rq. Changes the example keyboard from 101 to 102-keys, inserting key 0x69 between letf shift and Z. Fixes #6539. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42960 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
2323e7fa |
| 14-Aug-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
CID 1697. The FILE handle was leaked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38099 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97d73e2a |
| 14-May-2010 |
Joachim Seemer <humdingerb@googlemail.com> |
The generated keymap file had the wrong keymap-syntax in the first shebang line. '-l' expects a binary file as it's generated via '-c'. The correct parameter is '-s'.
git-svn-id: file:///srv/svn/rep
The generated keymap file had the wrong keymap-syntax in the first shebang line. '-l' expects a binary file as it's generated via '-c'. The correct parameter is '-s'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36814 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
910f10f2 |
| 20-Apr-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added libshared_build.a, currently only contains Keymap.cpp. * keymap and <build>keymap are now using the BKeymap class as a base as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@3636
* Added libshared_build.a, currently only contains Keymap.cpp. * keymap and <build>keymap are now using the BKeymap class as a base as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36368 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
bf5b4ce2 |
| 26-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replaced hardcoded printf()/scanf() format modifiers by the B_{PRI,SCN}* macros. This fixes the broken keymaps when building on a 64 bit host.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34
Replaced hardcoded printf()/scanf() format modifiers by the B_{PRI,SCN}* macros. This fixes the broken keymaps when building on a 64 bit host.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34283 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
3836be3e |
| 24-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Reworked GetKey() after Marcus' suggestions. Thanks for the extra motivation to work on this :-) * Also made it return "false" if there was no mapping, which will prevent empty dead keys to be
* Reworked GetKey() after Marcus' suggestions. Thanks for the extra motivation to work on this :-) * Also made it return "false" if there was no mapping, which will prevent empty dead keys to be written now (ie. the output now looks exactly like our sources).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31222 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
c454df7e |
| 23-Jun-2009 |
Stephan Aßmus <superstippi@gmx.de> |
This stuff is actually used on the build host platform as well...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31209 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e27f2019 |
| 23-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added ability to save a "styles" attribute for StyledEdit. This implements ticket #4032.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31196 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
30dcc55d |
| 23-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* More or less rewrote main.cpp to use getopt_long() instead of the self-made argument evaluation. Also separated the evaluation from performing the options, solving a TODO, and added long versio
* More or less rewrote main.cpp to use getopt_long() instead of the self-made argument evaluation. Also separated the evaluation from performing the options, solving a TODO, and added long versions for the options. * Changed Keymap methods to work on a path instead of entry_refs - this simplifies the code a bit over the place. * Added new option to load a source keymap directly (-s, --load-source). * Renamed some methods to make clearer what they do. * Added a way to directly write a source keymap to a file (by specifying the -o option together with -d). * Coding style cleanup, ordered Keymap methods in the order they are declared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31195 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
bc3955fe |
| 23-Oct-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Preparations for removing __BEOS__ from the compiler defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dff0e735 |
| 23-Jul-2008 |
Maurice Kalinowski <mauricek@nowhere.fake> |
julun+mauricek: * Cygwin does not have regex support, so we use the one we already have in our glibc. * Keymap.h has a automatic forward declaration of re_registers, which causes a compile brea
julun+mauricek: * Cygwin does not have regex support, so we use the one we already have in our glibc. * Keymap.h has a automatic forward declaration of re_registers, which causes a compile break on Cygwin, but not on other platforms. So add a include for regex.h in the header and remove it in the source file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26587 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
1174007c |
| 12-Apr-2008 |
Rene Gollent <anevilyak@gmail.com> |
Modified bin/keymap's -h option to write a variable to the generated header indicating the name of the keymap. Correspondingly, modified input_server to use the aforementioned variable in order to
Modified bin/keymap's -h option to write a variable to the generated header indicating the name of the keymap. Correspondingly, modified input_server to use the aforementioned variable in order to write the name attribute to ~/config/Key_map. This allows Keymap prefs to correctly recognize the name of the default keymap on a fresh build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24951 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|